Add mod: smaller titlebar

This commit is contained in:
Fierelier 2021-12-26 19:48:57 +01:00
parent 292fa8a9eb
commit 6e558d3212
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
@echo off
reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "CaptionHeight" /t REG_SZ /d -270 /f
reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "CaptionWidth" /t REG_SZ /d -270 /f

View File

@ -0,0 +1,5 @@
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Control Panel\\Desktop\\WindowMetrics","/v","CaptionHeight","/t","REG_SZ","/d","-270","/f"])
opusnt.runReg(["add",user + "\\Control Panel\\Desktop\\WindowMetrics","/v","CaptionWidth","/t","REG_SZ","/d","-270","/f"])