LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
9.64k stars 200 forks source link

[BUG]: `komorebic check` doesn't check `WHKD_CONFIG_HOME` env variable #649

Closed azinsharaf closed 9 months ago

azinsharaf commented 10 months ago

Describe the bug komorebic check needs to check WHKD_CONFIG_HOME env variable therefore if it exists, the command shouldn't show: No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard

To Reproduce


❯ echo $Env:WHKD_CONFIG_HOME
C:\Users\asharaf\.config\whkd

❯ ls $Env:WHKD_CONFIG_HOME

    Directory: C:\Users\asharaf\.config\whkd

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---           1/24/2024  3:53 PM           3352 whkdrc

❯ komorebic check
KOMOREBI_CONFIG_HOME detected: C:\Users\asharaf\.config\komorebi

Looking for configuration files in C:\Users\asharaf\.config\komorebi

Found komorebi.json; this file can be passed to the start command with the --config flag

No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard
LGUG2Z commented 9 months ago

I think we can sneak this in before the next release

LGUG2Z commented 9 months ago

Implemented on this video https://www.youtube.com/watch?v=XBOuvuFL9RE