summaryrefslogtreecommitdiff
path: root/AutoHotkey
diff options
context:
space:
mode:
Diffstat (limited to 'AutoHotkey')
-rw-r--r--AutoHotkey/hotkeys.ahk32
1 files changed, 5 insertions, 27 deletions
diff --git a/AutoHotkey/hotkeys.ahk b/AutoHotkey/hotkeys.ahk
index 6ef62b2..54f88a3 100644
--- a/AutoHotkey/hotkeys.ahk
+++ b/AutoHotkey/hotkeys.ahk
@@ -32,6 +32,8 @@ DetectHiddenWindows true
}
}
+;Launcher
+#s::SendEvent("!s")
;WSL
#w::
{
@@ -57,30 +59,6 @@ DetectHiddenWindows true
WinActivate("ahk_class ConsoleWindowClass ahk_exe wsl.exe")
}
}
-;Emacs
-#n::
-{
-
- ; Check if Emacs is running
- if WinExist("ahk_class Emacs ahk_exe emacs.exe")
- {
- ; If Emacs is already in the foreground, minimize it
- if WinActive("ahk_class Emacs ahk_exe emacs.exe")
- {
- WinMinimize("ahk_class Emacs ahk_exe emacs.exe")
- }
- else
- {
- ; If Emacs is running but not in the foreground, bring it to the foreground
- WinActivate("ahk_class Emacs ahk_exe emacs.exe" )
- }
- }
- else
- {
- ; If Emacs is not running, launch it
- Run(UserPath . "\scoop\apps\emacs\current\bin\emacsclientw.exe -c")
- }
-}
;Obsidian
#o::
{
@@ -130,7 +108,7 @@ DetectHiddenWindows true
}
}
;Telegram
-#,::
+#j::
{
; Check if Telegram is running
@@ -142,7 +120,7 @@ DetectHiddenWindows true
}
;Thunderbird
-#.::
+#k::
{
; Check if Thunderbird is running
@@ -177,7 +155,7 @@ DetectHiddenWindows true
}
}
;Audacious
-#m::
+#l::
{
; Check if Audacious is running
Back to https://optics-design.com