Compare commits
2 commits
4ddba0ab57
...
93997c2cdf
Author | SHA1 | Date | |
---|---|---|---|
93997c2cdf | |||
5bfca82c4d |
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,8 @@ TERMINAL_CMD := "
|
||||||
)"
|
)"
|
||||||
|
|
||||||
BROWSER_WIN:= "ahk_class MozillaWindowClass"
|
BROWSER_WIN:= "ahk_class MozillaWindowClass"
|
||||||
BROWSER_CMD:= "C:\Program Files\Mozilla Firefox\firefox.exe"
|
; BROWSER_CMD:= "C:\Program Files\Mozilla Firefox\firefox.exe"
|
||||||
|
BROWSER_CMD:= "C:\Users\fernando.schauenburg\AppData\Local\Mozilla\Firefox\firefox.exe"
|
||||||
|
|
||||||
; Returns the rectangle (position & size) of a given monitor.
|
; Returns the rectangle (position & size) of a given monitor.
|
||||||
MonitorGetRect(N)
|
MonitorGetRect(N)
|
||||||
|
@ -141,6 +142,7 @@ POS := {
|
||||||
|
|
||||||
; Center
|
; Center
|
||||||
mainFocus : {pos: {x: 0.18, y: 0}, size: {width: 0.64, height: 1 }},
|
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.
|
; Uncomment the following line while making changes for easy reload.
|
||||||
|
@ -170,7 +172,7 @@ SetNumLockState True
|
||||||
!^Numpad3:: WinSetRelativeRect(POS.halfRight)
|
!^Numpad3:: WinSetRelativeRect(POS.halfRight)
|
||||||
|
|
||||||
; Center and...
|
; Center and...
|
||||||
!#NumpadAdd:: WinSetRelativeRect(POS.mainFocus) ; ... resize to default.
|
!#NumpadAdd:: WinSetRelativeRect(POS.fullScreen) ; ... make full screen.
|
||||||
!^Numpad5:: WinCenter() ; ... keep size.
|
!^Numpad5:: WinCenter() ; ... keep size.
|
||||||
|
|
||||||
; Move to other monitor (FIXME this is a hack, but works on my current setup)
|
; Move to other monitor (FIXME this is a hack, but works on my current setup)
|
||||||
|
|
Loading…
Add table
Reference in a new issue