From 93997c2cdf83e766b23b2f3ab85f4c81684dff0d Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 15 Jul 2024 09:32:57 +0200 Subject: [PATCH] Make window full screen with launch key --- Moonlander Window Manager.ahk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Moonlander Window Manager.ahk b/Moonlander Window Manager.ahk index 5693145..e25edc9 100644 --- a/Moonlander Window Manager.ahk +++ b/Moonlander Window Manager.ahk @@ -142,6 +142,7 @@ POS := { ; Center mainFocus : {pos: {x: 0.18, y: 0}, size: {width: 0.64, height: 1 }}, + fullScreen : {pos: {x: 0, y: 0}, size: {width: 1, height: 1 }}, } ; Uncomment the following line while making changes for easy reload. @@ -171,7 +172,7 @@ SetNumLockState True !^Numpad3:: WinSetRelativeRect(POS.halfRight) ; Center and... -!#NumpadAdd:: WinSetRelativeRect(POS.mainFocus) ; ... resize to default. +!#NumpadAdd:: WinSetRelativeRect(POS.fullScreen) ; ... make full screen. !^Numpad5:: WinCenter() ; ... keep size. ; Move to other monitor (FIXME this is a hack, but works on my current setup)