You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you choose to use a static configuration file alongside AHK, you can remove all the configuration options from your komorebi.ahk and use it solely to handle hotkey bindings.
However, when trying this out, komorebi.ahk doesn't get loaded when I pass the static config file.
To Reproduce
Steps to reproduce the behavior:
Create the static config (komorebi.json)
Create the AHK config (komorebi.ahk)
Run komorebic start -c komorebi.json
Expected behavior
The AHK config gets loaded alongside the static config, similar to how it works with whkd.
Operating System
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22621 N/A Build 22621
komorebic check Output
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\rycae
Looking for configuration files in C:\Users\rycae
Found komorebi.ahk; this file will be autoloaded by komorebi
The text was updated successfully, but these errors were encountered:
❯ komorebic start --help
Start komorebi.exe as a background process
Usage: komorebic.exe start [OPTIONS]
Options:
-f, --ffm Allow the use of komorebi's custom focus-follows-mouse implementation
-c, --config <CONFIG> Path to a static configuration JSON file
-a, --await-configuration Wait for 'komorebic complete-configuration' to be sent before processing events
-t, --tcp-port <TCP_PORT> Start a TCP server on the given port to allow the direct sending of SocketMessages
--whkd Start whkd in a background process
-h, --help Print help
We should have an --ahk flag similar to the --whkd flag which tries to load the configuration. Hopefully I can find some time to look at this during September. 👌
Also since there have historically been path lookup issues, this might be a good opportunity to also introduce something like --ahk-with-config where the user can specify the file they want to load; this should help with portability as well.
Describe the bug
From the readme:
However, when trying this out,
komorebi.ahk
doesn't get loaded when I pass the static config file.To Reproduce
Steps to reproduce the behavior:
komorebi.json
)komorebi.ahk
)komorebic start -c komorebi.json
Expected behavior
The AHK config gets loaded alongside the static config, similar to how it works with
whkd
.Operating System
komorebic check
OutputThe text was updated successfully, but these errors were encountered: