mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Komorebi does not load settings from komorebi.ps1 #192
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AntDavidLima on GitHub (Apr 8, 2023).
First of all, thank you for creating this tool.
Describe the bug
When I start Komorebi with
komorebic start --await-configurationit doesn't work. The windows only get tiled if I start it without the --await-configuration argument, but then, my configurations are not loaded.To Reproduce
Steps to reproduce the behavior:
komorebic start --await-configuration.Expected behavior
The windows should be tiled following the configurations on komorebi.ps1
Operating System
Additional context
Komorebi and WHKD were downloaded using scoop, with the scripts provided on the README.md
@AJolly commented on GitHub (Apr 9, 2023):
Oh, I was thinking I just messed something up when I installed. Can confirm I'm having the bug on a fresh install, but i used win-get. New user here. Also ran into issues with not finding komorebi on the path following the quickstart guide.
(also, would have been nice if the quick start then gave a commmand or two to verify that komorebi was working.
@sudoCompetence commented on GitHub (Apr 11, 2023):
I am also having an issue of komorebi not recognizing the config directory despite changing environment variable by following the quickstart guide. Even with the env variable changed komorebi still looks for the config inside %Home% insdiead of %Home%/.config/komorebi
@LGUG2Z commented on GitHub (Apr 11, 2023):
For those encountering this issue, please post here with the output of
env(redact any sensitive information that may be there) when run in the shell that you would normally runkomorebic startin. It should look something like this:Please also post the full paths to your komorebi and whkd configuration files, and the logs output when running the
komorebiandwhkdcommands directly (separately) in your shell.@AJolly commented on GitHub (Apr 12, 2023):
It's probably because the quickstart guide doesn't exit the terminal and restart it. Just changing the path within winget etc wont make the new path apply within the existing session, so the quickstart guide would need to fully qualify the path.
@sudoCompetence commented on GitHub (Apr 12, 2023):
I think Ajolly is correct.
After reinstalling komorebi and whkd:
Note on my laptop I had to follow the steps above to get working properly (restarting system did not work) im not sure why but everything is working.
Thank your the great work; cannot live without this on my windows systems.
@AntDavidLima commented on GitHub (Apr 15, 2023):
I had no success following the steps outlined by @sudoCompetence.
The env command only returns something when I run it in git bash, if I run it in PowerShell, it returns me
env : The term 'env' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.When run in git bash the output is as follows:
The full path to my settings is: C:\Users\David Lima\.config\komorebi\komorebi.ps1 and C:\Users\David Lima\.config\komorebi\komorebi.generated.ps1.
When I run komorebi directly the return is
←[2m2023-04-15T21:49:05.726424Z←[0m ←[32m INFO←[0m ←[1minit←[0m←[2m:←[0m ←[2mkomorebi::window_manager←[]] 0m←[2m:←[0m initialising ←[2m2023-04-15T21:49:05.734334Z←[0m ←[32m INFO←[0m ←[2mkomorebi::process_command←[0m←[2m:←[0m listening on komorebi.sock ←[2m2023-04-15T21:49:05.734734Z←[0m ←[32m INFO←[0m ←[2mkomorebi←[0m←[2m:←[0m loading configuration file: C:\Users\David Lima\.config\ komorebi\komorebi.ps1 ←[2m2023-04-15T21:49:05.736405Z←[0m ←[32m INFO←[0m ←[2mkomorebi::process_event←[0m←[2m:←[0m listening]When running whkd directly, no feedback is produced.
@sudoCompetence commented on GitHub (Apr 17, 2023):
@AJolly When you open up powershell and type '$profile' it should return the path.
Edit the file addding the following
NOTE: This will also start komorebi whenever the terminal opens (since I have my terminal open on start-up)
I would then close komorebi
and reload the terminal and restart komorebi.
@AntDavidLima commented on GitHub (Apr 19, 2023):
@sudoCompetence Executing these steps, Komorebi and WHKD start whenever I open a Shell, but Komorebi's settings are still not being loaded.
@NormTurtle commented on GitHub (Apr 19, 2023):
@AntDavidLima we need to clam down , it happend with me too , and its not a bug* maybe?
trimmed komorebi usage guide that no-body wants but , deserves
if you installed and run those command , komorebi should work ,
if anyerror please ask
if worked ⭐ feel free to customize, and whkd is awesome i have made a docs for key-codes
@wiggleforlife commented on GitHub (May 9, 2023):
I have this same issue and I can't seem to fix it. I get as far as this while waiting for the config -
and it works if I start it without that argument. I'm on 10 Pro 19.0442846 with two displays.
Here are the minor changes I've made to the config, if it matters. I had the same issue before these:
@LGUG2Z commented on GitHub (May 12, 2024):
Settings should now be loaded form
komorebi.json.