feat(ahk): autoload config on start

When AutoHotKey is detected, and %USERPROFILE%\komorebi.ahk exists,
komorebi.exe will now try to run the ahk script after starting the
command listener.

For this to work smoothly, it is important to set the #SingleInstance
directive to Force in komorebi.ahk, which will ensure that duplicates of
the script are not run, and a new version of the script is loaded
without displaying a GUI confirmation prompt.

resolve #3
This commit is contained in:
LGUG2Z
2021-08-14 07:53:37 -07:00
parent 55b62c2bc9
commit 91ddb2c22b
5 changed files with 31 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
#SingleInstance Force
; Enable focus follows mouse
Run, komorebic.exe focus-follows-mouse enable