No komorebi configuration found #277

Closed
opened 2026-01-05 14:49:26 +01:00 by adam · 10 comments
Owner

Originally created by @goyalyashpal on GitHub (Jan 6, 2024).

hey @ LGUG2Z ! i am also a new user to komorebi coming here after failed try with dwm-win32 port.
i have been looking for almost 100 minutes, and still couldn't find how to enable hotkeys.

on looking further with komorebic check (thannks a lot for check subcommand 😃), i found that it says "no config found" which is confusing as i have done the equivalent of all the steps given in the readme.

i have done:

  • downloaded both komorebi & whkd
  • added both those to PATH, and added the KOMOREBI_CONFIG_HOME env variable
  • added all the 3 applications.yaml komorebi.json whkdrc files to that directory configured above
$ komorebic check
KOMOREBI_CONFIG_HOME detected: D:\UserFiles\komorebi_config_home

Looking for configuration files in D:\UserFiles\komorebi_config_home

No komorebi configuration found in D:\UserFiles\komorebi_config_home

If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration   


$ cd $KOMOREBI_CONFIG_HOME/

$ ls -A
applications.yaml  komorebi.json  whkdrc

i am using msys2, not wsl or anything like that. so, the issue is not related to it.

i.e. equivalent of as mentioned at:

(click me)

f9c69e51aa/README.md (L237-L240)

f9c69e51aa/README.md (L277-L280)

f9c69e51aa/README.md (L163)

f9c69e51aa/README.md (L191-L201)

f9c69e51aa/README.md (L357-L360)

Versions and environment:

$ komorebi --version
komorebi 0.1.19

$ whkd --version
whkd 0.2.0

$ systeminfo | grep -iA1 "os name"
OS Name:                   Microsoft Windows 10 Home Single Language
OS Version:                10.0.19045 N/A Build 19045

Originally created by @goyalyashpal on GitHub (Jan 6, 2024). hey @ LGUG2Z ! i am also a new user to komorebi coming here after failed try with dwm-win32 port. i have been looking for almost 100 minutes, and still couldn't find how to enable hotkeys. on looking further with `komorebic check` (thannks a lot for check subcommand :smiley:), i found that it says "no config found" which is confusing as i have done the equivalent of all the steps given in the readme. ### i have done: * downloaded both `komorebi` & `whkd` * added both those to `PATH`, and added the `KOMOREBI_CONFIG_HOME` env variable * added all the 3 `applications.yaml komorebi.json whkdrc` files to that directory configured above ```console $ komorebic check KOMOREBI_CONFIG_HOME detected: D:\UserFiles\komorebi_config_home Looking for configuration files in D:\UserFiles\komorebi_config_home No komorebi configuration found in D:\UserFiles\komorebi_config_home If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration $ cd $KOMOREBI_CONFIG_HOME/ $ ls -A applications.yaml komorebi.json whkdrc ``` <sub>i am using [msys2](https://www.msys2.org), not wsl or anything like that. so, the issue is not related to it.</sub> <details> <summary><h3>i.e. equivalent of as mentioned at:</h3> (click me)</summary> https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L237-L240 https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L277-L280 https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L163 https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L191-L201 https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L357-L360 </details> ### Versions and environment: ```console $ komorebi --version komorebi 0.1.19 $ whkd --version whkd 0.2.0 $ systeminfo | grep -iA1 "os name" OS Name: Microsoft Windows 10 Home Single Language OS Version: 10.0.19045 N/A Build 19045 ```
adam closed this issue 2026-01-05 14:49:26 +01:00
Author
Owner

@azinsharaf commented on GitHub (Jan 6, 2024):

whkd has its own config home environment variable. WHKD_CONFIG_HOME

@azinsharaf commented on GitHub (Jan 6, 2024): whkd has its own config home environment variable. WHKD_CONFIG_HOME
Author
Owner

@azinsharaf commented on GitHub (Jan 6, 2024):

do you start komorebi and whkd like this?

komorebic start -c "<komorebi.json file path goes here>" --whkd

@azinsharaf commented on GitHub (Jan 6, 2024): do you start komorebi and whkd like this? komorebic start -c "<komorebi.json file path goes here>" --whkd
Author
Owner

@goyalyashpal commented on GitHub (Jan 6, 2024):

do you start komorebi and whkd like this?

hi! no.

  • i started like: komorebic start as supplying the path options works only for current session, and
  • the problem of komorebic check failing would still prevail, i.e.
  • it would still require passing it every time which is tedious and those options should be took care by the config

whkd has its own config home environment variable. WHKD_CONFIG_HOME

so, i need to set that up and point it to same as KOMOREBI_CONFIG_HOME ?

@goyalyashpal commented on GitHub (Jan 6, 2024): > do you start komorebi and whkd like this? hi! no. * i started like: `komorebic start` as supplying the path options works only for current session, and * the problem of `komorebic check` failing would still prevail, i.e. * it would still require passing it every time which is tedious and those options should be took care by the config > whkd has its own config home environment variable. WHKD_CONFIG_HOME so, i need to set that up and point it to same as `KOMOREBI_CONFIG_HOME` ?
Author
Owner

@goyalyashpal commented on GitHub (Jan 6, 2024):

komorebic start -c "<komorebi.json file path goes here>" --whkd

so,

  • i tried that just now; and
  • it seems that specifying the -c option makes 'komorebi.exe' unable to start.
  • whereas without that, i.e. with no options or even with --whkd, it starts okay.
  • it makes me wonder if there's some issue parsing that json file or if it is even valid
$ komorebic start -c $KOMOREBI_CONFIG_HOME/komorebi.json --whkd
Start-Process 'komorebi.exe' -ArgumentList '--config="D:\UserFiles\komorebi_config_home\komorebi.json"' -WindowStyle hidden
Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again
Start-Process 'komorebi.exe' -ArgumentList '--config="D:\UserFiles\komorebi_config_home\komorebi.json"' -WindowStyle hidden

$ komorebic start --whkd
Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...Started!

if (!(Get-Process whkd -ErrorAction SilentlyContinue))
{
  Start-Process whkd -WindowStyle hidden
}


@goyalyashpal commented on GitHub (Jan 6, 2024): > komorebic start -c "<komorebi.json file path goes here>" --whkd so, * i tried that just now; and * it seems that specifying the `-c` option makes 'komorebi.exe' unable to start. * whereas without that, i.e. with no options or even with `--whkd`, it starts okay. * it makes me wonder if there's some issue parsing that json file or if it is even valid ```console $ komorebic start -c $KOMOREBI_CONFIG_HOME/komorebi.json --whkd Start-Process 'komorebi.exe' -ArgumentList '--config="D:\UserFiles\komorebi_config_home\komorebi.json"' -WindowStyle hidden Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again Start-Process 'komorebi.exe' -ArgumentList '--config="D:\UserFiles\komorebi_config_home\komorebi.json"' -WindowStyle hidden $ komorebic start --whkd Start-Process 'komorebi.exe' -WindowStyle hidden Waiting for komorebi.exe to start...Started! if (!(Get-Process whkd -ErrorAction SilentlyContinue)) { Start-Process whkd -WindowStyle hidden } ```
Author
Owner

@azinsharaf commented on GitHub (Jan 6, 2024):

do you mind sharing your json file?

@azinsharaf commented on GitHub (Jan 6, 2024): do you mind sharing your json file?
Author
Owner

@goyalyashpal commented on GitHub (Jan 7, 2024):

sharing your json file

hi! yeah, i have attached it below.

f9c69e51aa/README.md (L200-L201)
but rerading the above example , i actually think u were right before regaring this:

whkd has its own config home environment variable. WHKD_CONFIG_HOME

in the sense that, maybe (edit: yes) the default place where whkd looks for its config is ~/.config/whkdrc and so above works out.

edit2: even after setting up the WHKD_CONFIG_HOME to %KOMOREBI_CONFIG_HOME% (as the whkdrc is located in same dir) it didn't work; and lack of whkd check didn't help


File: komorebi.json

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json",
  // "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml",
  "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.yaml",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "alt_focus_hack": true,
  "default_workspace_padding": 20,
  "default_container_padding": 20,
  "active_window_border": false,
  "active_window_border_colours": {
    "single": { "r": 66, "g": 165, "b": 245 },
    "stack": { "r": 256, "g": 165, "b": 66 },
    "monocle": { "r": 255, "g": 51, "b": 153 }
  },
  "monitors": [
    {
      "workspaces": [
        { "name": "I", "layout": "BSP" },
        { "name": "II", "layout": "VerticalStack" },
        { "name": "III", "layout": "HorizontalStack" },
        { "name": "IV", "layout": "UltrawideVerticalStack" },
        { "name": "V", "layout": "Rows" }
      ]
    }
  ]
}

it basically came as follows:

curl --no-clobber --create-dirs --output-dir komorebi -o komorebi.json -o whkdrc \
https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.19/{komorebi.example.json,whkdrc.sample}

@goyalyashpal commented on GitHub (Jan 7, 2024): > sharing your json file hi! yeah, i have attached it below. https://github.com/LGUG2Z/komorebi/blob/f9c69e51aa90343b11f2603561e1df97537ce8fd/README.md?plain=1#L200-L201 but rerading the above example , i actually think u were right before regaring this: > whkd has its own config home environment variable. WHKD_CONFIG_HOME in the sense that, ~maybe~ (edit: [yes][whkdrc]) the default place where whkd looks for its config is `~/.config/whkdrc` and so above works out. [whkdrc]: https://github.com/LGUG2Z/whkd/blob/e7b0b1fb12ac75d93bd3f9a0eeb34f242382612f/README.md?plain=1#L6 "whkdrc location" edit2: even after setting up the `WHKD_CONFIG_HOME` to `%KOMOREBI_CONFIG_HOME%` (as the `whkdrc` is located in same dir) it didn't work; and lack of `whkd check` didn't help ------ `File: komorebi.json` ```jsonc { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", // "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "alt_focus_hack": true, "default_workspace_padding": 20, "default_container_padding": 20, "active_window_border": false, "active_window_border_colours": { "single": { "r": 66, "g": 165, "b": 245 }, "stack": { "r": 256, "g": 165, "b": 66 }, "monocle": { "r": 255, "g": 51, "b": 153 } }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "VerticalStack" }, { "name": "III", "layout": "HorizontalStack" }, { "name": "IV", "layout": "UltrawideVerticalStack" }, { "name": "V", "layout": "Rows" } ] } ] } ``` it basically came as follows: ``` curl --no-clobber --create-dirs --output-dir komorebi -o komorebi.json -o whkdrc \ https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.19/{komorebi.example.json,whkdrc.sample} ```
Author
Owner

@azinsharaf commented on GitHub (Jan 7, 2024):

can you remove the commented out line in json file and try it again? If i am right json can't include lines commented out. not sure 100%.
just for testing can you hardcode the full path in WHKD_CONFIG_HOME instead of %KOMOREBI_CONFIG_HOME%?

@azinsharaf commented on GitHub (Jan 7, 2024): can you remove the commented out line in json file and try it again? If i am right json can't include lines commented out. not sure 100%. just for testing can you hardcode the full path in `WHKD_CONFIG_HOME` instead of `%KOMOREBI_CONFIG_HOME%`?
Author
Owner

@goyalyashpal commented on GitHub (Jan 9, 2024):

hi! i have got exams. so, wont be able to attach ay things for a month. however sharing my foundings from 2 days ago:

it seems that evon on starting with komorebic start the hotkeys are working... its just that it was placing current active window on left, and i was trying with A-S-h which was not doing anything.

I was doing that as i was used to expecting it to cycle back as it does in dwm-win32 port. i found that this was erronoeus when i started it as komorebi and perssing that showed the error entry on stdout/err...

other than that, i tried changing the configs in whkdrc i.e. alt h to shift focus up.. but i guess even that didn't work... (but to be reconfirmed more firmly)

and ofc i tried removing that commented out line, and it still showed no config found on komorebic check

@goyalyashpal commented on GitHub (Jan 9, 2024): hi! i have got exams. so, wont be able to attach ay things for a month. however sharing my foundings from 2 days ago: it seems that evon on starting with `komorebic start` the hotkeys are working... its just that it was placing current active window on left, and i was trying with `A-S-h` which was not doing anything. I was doing that as i was used to expecting it to cycle back as it does in dwm-win32 port. i found that this was erronoeus when i started it as `komorebi` and perssing that showed the error entry on stdout/err... other than that, i tried changing the configs in `whkdrc` i.e. alt h to shift focus up.. but i guess even that didn't work... (but to be reconfirmed more firmly) and ofc i tried removing that commented out line, and it still showed no config found on `komorebic check`
Author
Owner

@azinsharaf commented on GitHub (Jan 9, 2024):

'komorebic check' command shows me 'no config found' as well but it has picked it up correctly. could be a wrong message.

@azinsharaf commented on GitHub (Jan 9, 2024): 'komorebic check' command shows me 'no config found' as well but it has picked it up correctly. could be a wrong message.
Author
Owner
@goyalyashpal commented on GitHub (Apr 9, 2024): https://github.com/LGUG2Z/komorebi/blob/master/docs/whkdrc.sample https://github.com/LGUG2Z/komorebi/blob/master/docs/komorebi.example.json https://lgug2z.github.io/komorebi/example-configurations.html
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#277