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.
$ 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
```
@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
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` ?
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
}
```
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
@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}
```
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%`?
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`
'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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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:
komorebi&whkdPATH, and added theKOMOREBI_CONFIG_HOMEenv variableapplications.yaml komorebi.json whkdrcfiles to that directory configured abovei 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)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
Versions and environment:
@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):
do you start komorebi and whkd like this?
komorebic start -c "<komorebi.json file path goes here>" --whkd
@goyalyashpal commented on GitHub (Jan 6, 2024):
hi! no.
komorebic startas supplying the path options works only for current session, andkomorebic checkfailing would still prevail, i.e.so, i need to set that up and point it to same as
KOMOREBI_CONFIG_HOME?@goyalyashpal commented on GitHub (Jan 6, 2024):
so,
-coption makes 'komorebi.exe' unable to start.--whkd, it starts okay.@azinsharaf commented on GitHub (Jan 6, 2024):
do you mind sharing your json file?
@goyalyashpal commented on GitHub (Jan 7, 2024):
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:
in the sense that,
maybe(edit: yes) the default place where whkd looks for its config is~/.config/whkdrcand so above works out.edit2: even after setting up the
WHKD_CONFIG_HOMEto%KOMOREBI_CONFIG_HOME%(as thewhkdrcis located in same dir) it didn't work; and lack ofwhkd checkdidn't helpFile: komorebi.jsonit basically came as follows:
@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_HOMEinstead of%KOMOREBI_CONFIG_HOME%?@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 startthe hotkeys are working... its just that it was placing current active window on left, and i was trying withA-S-hwhich 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
komorebiand perssing that showed the error entry on stdout/err...other than that, i tried changing the configs in
whkdrci.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@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.
@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