From ee161abfe183753a71956b0296c49ffa6586703b Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Fri, 10 Mar 2023 12:19:08 +0100 Subject: [PATCH] Add header --- Moonlander Window Manager.ahk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Moonlander Window Manager.ahk b/Moonlander Window Manager.ahk index 05641f9..1909a7e 100644 --- a/Moonlander Window Manager.ahk +++ b/Moonlander Window Manager.ahk @@ -1,4 +1,9 @@ -; Returns the rectangle (position & size) of a given monitor. +; Simple window manager for MS Windows, made to work in tandem with my +; Moonlander keyboard configuration: +; +; https://configure.zsa.io/moonlander/layouts/553D6/latest/0 + +; Returns the rectangle (position & size) of a given monitor. MonitorGetRect(N) { MonitorGetWorkArea(N, &left, &top, &right, &bottom) @@ -147,8 +152,8 @@ SetNumLockState True !^Numpad3:: WinSetRelativeRect(POS.halfRight) ; Center and... -!#NumpadAdd:: WinSetRelativeRect(POS.mainFocus) ; ... resize to default. -!^Numpad5:: WinCenter() ; ... keep size. +!#NumpadAdd:: WinSetRelativeRect(POS.mainFocus) ; ... resize to default. +!^Numpad5:: WinCenter() ; ... keep size. ; Move to other monitor (FIXME this is a hack, but works on my current setup) !^Left:: WinSetMonitor(2)