diff options
Diffstat (limited to '_windows/ahk')
| -rw-r--r-- | _windows/ahk/c-w.ahk | 6 | ||||
| -rw-r--r-- | _windows/ahk/discord.ahk | 2 | ||||
| -rw-r--r-- | _windows/ahk/run.ps1 | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/_windows/ahk/c-w.ahk b/_windows/ahk/c-w.ahk new file mode 100644 index 0000000..a6d77da --- /dev/null +++ b/_windows/ahk/c-w.ahk @@ -0,0 +1,6 @@ +#Requires AutoHotkey v2 +#SingleInstance Force + +#HotIf WinActive("ahk_exe Discord.exe") || WinActive("ahk_exe firefox.exe") +^w::^Backspace +#HotIf diff --git a/_windows/ahk/discord.ahk b/_windows/ahk/discord.ahk index a254ac7..4375ce0 100644 --- a/_windows/ahk/discord.ahk +++ b/_windows/ahk/discord.ahk @@ -8,6 +8,4 @@ ^!j::^!Down +!k::+!Up +!j::+!Down - -^w::^Backspace #HotIf diff --git a/_windows/ahk/run.ps1 b/_windows/ahk/run.ps1 index 1496ccc..ee80221 100644 --- a/_windows/ahk/run.ps1 +++ b/_windows/ahk/run.ps1 @@ -3,4 +3,5 @@ Push-Location $PSScriptRoot .\media.ahk .\discord.ahk .\element.ahk +.\c-w.ahk Pop-Location |
