diff --git a/windows/kinto.ahk b/windows/kinto.ahk index 7ec0376..60d112a 100644 --- a/windows/kinto.ahk +++ b/windows/kinto.ahk @@ -5,6 +5,25 @@ DetectHiddenWindows, On Run, %A_ScriptDir%\detectUSB.ahk +; Enable Left clicks on Kinto Icon +; https://www.autohotkey.com/boards/viewtopic.php?t=9501 +OnMessage(0x404, "AHK_NOTIFYICON") + +AHK_NOTIFYICON(wParam, lParam) +{ + if (lParam = 0x202) { ; user left-clicked tray icon + ;ADD ANY SUBROUTINE OR FUNCTION HERE + Menu, Tray, Show + return + } + else if (lParam = 0x203) { ; user double left-clicked tray icon + ;ADD ANY SUBROUTINE OR FUNCTION HERE + Menu, Tray, Show + return + } +} +; End Enable Left clicks + ; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers ; IfExist, %I_Icon% ; MacModifiers ; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers diff --git a/xkeysnail_service.sh b/xkeysnail_service.sh index 70679c8..80ab549 100755 --- a/xkeysnail_service.sh +++ b/xkeysnail_service.sh @@ -118,7 +118,6 @@ function trayApp { fi } - function budgieUninstall { if [ -f /usr/bin/budgie-desktop ];then read -n 1 -s -r -p "Your system may log you off immediately during the restoration of budgie-daemon. Press any key to continue..."