Switch from capslock to hyper
This commit is contained in:
parent
6acdfcd904
commit
b37052f3ea
4
main.ahk
4
main.ahk
@ -22,7 +22,7 @@ OnClipboardChange DownloadYoutubeVideo
|
|||||||
; Pressing the hotkey again goes back to the previously focused window.
|
; Pressing the hotkey again goes back to the previously focused window.
|
||||||
|
|
||||||
prevWindow := 0
|
prevWindow := 0
|
||||||
CapsLock & t:: ; Capslock+t to open a terminal
|
^!+#t:: ; Capslock+t to open a terminal
|
||||||
{
|
{
|
||||||
global prevWindow
|
global prevWindow
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ ArrangeWindows(wParam, lParam, msg, hwnd)
|
|||||||
; Listen for the monitor change event
|
; Listen for the monitor change event
|
||||||
OnMessage(0x007E, ArrangeWindows)
|
OnMessage(0x007E, ArrangeWindows)
|
||||||
|
|
||||||
CapsLock & a:: ; Capslock+a to arrange windows
|
^!+#a:: ; Capslock+a to arrange windows
|
||||||
{
|
{
|
||||||
keyArr := []
|
keyArr := []
|
||||||
For Key In monitorConfigurations
|
For Key In monitorConfigurations
|
||||||
|
Loading…
Reference in New Issue
Block a user