Last active
May 4, 2020 21:53
-
-
Save pixelchai/9aa2bf8bfa667c43ae3893c65381d8b5 to your computer and use it in GitHub Desktop.
AutoHotKey script to mimic some i3 behaviour on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; mod+shift+r or mod+r = reload this script | |
#+r:: | |
#r:: | |
Reload | |
return | |
; mod+shift+q = close active window | |
#+q::WinClose A | |
; mod+shift+enter = browser | |
#+Enter::Run chrome.exe | |
; mod+crl+shift+enter = browser incognito | |
#^+Enter::Run chrome.exe -incognito | |
; mod+enter = command line (with cwd %USERPROFILE%) | |
#Enter::Run cmd, %USERPROFILE% | |
; mod+f = fullscreen/unfulscreen | |
#f:: | |
WinGet isMax, MinMax, A | |
if (isMax) { | |
WinRestore A | |
} else { | |
WinMaximize A | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment