[BUG]: AHK Script File not found on windows startup #284

Closed
opened 2026-01-05 14:49:29 +01:00 by adam · 1 comment
Owner

Originally created by @jpmiller25 on GitHub (Jan 22, 2024).

When I run komorebic start --ahk from the terminal, it starts up fine and runs the ahk script. However when I run the startup shortcut that was generated, I get an error message:

Script file not found: C:\Users\jmiller\komorebi.ahk

It starts komorebi but not the ahk script.

My komorebi.ahk is in my ~.config\komorebi\ directory. How can I make the startup script look there for the AHK? I'd prefer to keep it there.

Expected behavior
komorebi and ahk starts up with windows

Edition Windows 10 Business
Version 22H2
Installed on ‎12/‎14/‎2022
OS build 19045.3930
Experience Windows Feature Experience Pack 1000.19053.1000.0

Originally created by @jpmiller25 on GitHub (Jan 22, 2024). When I run komorebic start --ahk from the terminal, it starts up fine and runs the ahk script. However when I run the startup shortcut that was generated, I get an error message: Script file not found: C:\Users\jmiller\komorebi.ahk It starts komorebi but not the ahk script. My komorebi.ahk is in my ~\.config\komorebi\ directory. How can I make the startup script look there for the AHK? I'd prefer to keep it there. **Expected behavior** komorebi and ahk starts up with windows Edition Windows 10 Business Version 22H2 Installed on ‎12/‎14/‎2022 OS build 19045.3930 Experience Windows Feature Experience Pack 1000.19053.1000.0
adam added the bug label 2026-01-05 14:49:29 +01:00
adam closed this issue 2026-01-05 14:49:29 +01:00
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2024):

The start command now respects the KOMOREBI_CONFIG_HOME environment variable when looking up komorebi.ahk

@LGUG2Z commented on GitHub (May 12, 2024): The `start` command now respects the `KOMOREBI_CONFIG_HOME` environment variable when looking up `komorebi.ahk`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#284