-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Komorobi is unable to load the static config #634
Comments
i agree that returning as a side note, storing it in .config makes the dot files management easier. it is just a matter of personal preference. |
It should but it does not.
For me it produces this error:
Before runnig the command above I have moved my komorebi folder to |
can you post your json file? |
Yes, ofcourse, {
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json",
"app_specific_configuration_path": "C:\\Users\\claudio4\\AppData\\Roaming\\komorebi\\applications.yaml",
"window_hiding_behaviour": "Cloak",
"cross_monitor_move_behaviour": "Insert",
"alt_focus_hack": true,
"default_workspace_padding": 0,
"default_container_padding": 0,
"active_window_border": true,
"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" }
]
}
]
} |
the syntax and schema look correct. Do you have |
You need to use forward slashes in paths in the JSON files ^ |
I was about to say yes, then double checked and... No 🤦. For whatever the reason (probably me being very dumb) my file was called Nonetheless, I think that improving the error message for a missing applications.yaml could be a wise move to prevent more people f*nking up like I did. |
glad it works. |
I have updated the |
hehe, i had no plan to use whkd, i faced that issue without whkd first, but as it's said that komorebi requires external thing to manage input etc, and it didn't seem working either. that's why i installed whkd as a fallback - "oh, i guess it requires that too to work" |
it was this one right? |
Describe the bug
Komorobi refuses to load the static config file.
If komorebi is run without arguments it just ignores the config file, as if it does not exists. If I use the
--config
flag to force it to load the config file I get this error:I AM sure that the file does indeed exists as I can
cat
it just fine.To Reproduce
Steps to reproduce the behavior:
KOMOREBI_CONFIG_HOME
.komorebi --config "PATH\TO\komorebi.json"
alternatvely usingkomorebic start --config "PATH\TO\komorebi.json"
has the same effect, but it obscures the error message.Expected behavior
Komorobi should read the config file.
Operating System
komorebic check
OutputAdditional context
This happens with or without
whkd
orahk
installed. I have sucessfully replicated in a brand new Windows Sandbox (a.k.a a VM with my same version of Windows).Probably related to #625, but that issue also talks about whkd, while this one is standalone to komorebi.
The text was updated successfully, but these errors were encountered: