Compare commits
No commits in common. "93997c2cdf83e766b23b2f3ab85f4c81684dff0d" and "4ddba0ab5742adfa1f525f0b72486ddf7b29a7d1" have entirely different histories.
93997c2cdf
...
4ddba0ab57
1 changed files with 2 additions and 4 deletions
|
@ -18,8 +18,7 @@ TERMINAL_CMD := "
|
|||
)"
|
||||
|
||||
BROWSER_WIN:= "ahk_class MozillaWindowClass"
|
||||
; BROWSER_CMD:= "C:\Program Files\Mozilla Firefox\firefox.exe"
|
||||
BROWSER_CMD:= "C:\Users\fernando.schauenburg\AppData\Local\Mozilla\Firefox\firefox.exe"
|
||||
BROWSER_CMD:= "C:\Program Files\Mozilla Firefox\firefox.exe"
|
||||
|
||||
; Returns the rectangle (position & size) of a given monitor.
|
||||
MonitorGetRect(N)
|
||||
|
@ -142,7 +141,6 @@ 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.
|
||||
|
@ -172,7 +170,7 @@ SetNumLockState True
|
|||
!^Numpad3:: WinSetRelativeRect(POS.halfRight)
|
||||
|
||||
; Center and...
|
||||
!#NumpadAdd:: WinSetRelativeRect(POS.fullScreen) ; ... make full screen.
|
||||
!#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)
|
||||
|
|
Loading…
Add table
Reference in a new issue