From 102f9a5608cbb7b5553cd0d1862b6bd8e40c8075 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 11 May 2025 00:43:32 +0200 Subject: refractored neovim config --- AutoHotkey/kinesis360_hotkeys.ahk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'AutoHotkey/kinesis360_hotkeys.ahk') diff --git a/AutoHotkey/kinesis360_hotkeys.ahk b/AutoHotkey/kinesis360_hotkeys.ahk index bc2fa32..143828f 100644 --- a/AutoHotkey/kinesis360_hotkeys.ahk +++ b/AutoHotkey/kinesis360_hotkeys.ahk @@ -42,7 +42,7 @@ CapsLock & Space::Send "^!l" } ;Emacs -#e:: +#n:: { ; Check if Emacs is running @@ -118,17 +118,17 @@ CapsLock & Space::Send "^!l" { ; Check if Telegram is running - if WinExist("ahk_exe Telegram.exe") + if WinExist("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") { ; If Telegram is already in the foreground, minimize it - if WinActive("ahk_exe Telegram.exe") + if WinActive("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") { - WinMinimize("ahk_exe Telegram.exe") + WinMinimize("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe") } else { ; If Telegram is running but not in the foreground, bring it to the foreground - WinActivate("Telegram.exe" ) + WinActivate("ahk_class Qt51515QWindowIcon ahk_exe Telegram.exe" ) } } } -- cgit v1.2.3