#Komorebi acts weird after computer restart (happens everytime)

1 messages · Page 1 of 1 (latest)

jagged plover
#

Well, the title pretty much sums up the issue! ahaha

The thing is, when I go check the file komorebic.json the configs are fine, but my screen shows something different (img1). I'm also missing workspaces and the ability to move a window/app to the desired workspaces with the keyboard shortcut

Good news: a simple "kill komorebi" and then restarting it fixes the issue (img2) but I get this prompt after "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
}

Additional details:

  • Installed both Komorebi + Zebar and YASB (by amnweb) through winget method
  • I don't run Komorebi with Zebar (--bar) when restarting to fix the issue
  • Running Win11 24H2 (26100)
fierce glade
#

That prompt after start is normal. Did you set auto start for komorebi? If so, how did you do it?

jagged plover
fierce glade
#

Where is your komorebi config file? Are you using some environment variable for KOMOREBI_CONFIG_HOME?

jagged plover
# fierce glade Where is your komorebi config file? Are you using some environment variable for ...

Hey Alex, so sorry for the delay, haven´t been online!

My configs are on my user directory, I followed this tutorial:
https://www.youtube.com/watch?v=C_KWUqQ6kko&list=PLllZnrEJu89AJzPSvO7racNyfvPmJupkx&index=23

I really don't know if I have environment variables because I'm so new to this that I don't even know what that means 😂

fierce glade
# jagged plover Hey Alex, so sorry for the delay, haven´t been online! My configs are on my use...

Yes this is fine when you run komorebi from the terminal with komorebic start however when you use the autostart, the config file that you set on your powershell Profile with $Env:KOMOREBI_CONFIG_HOME = "C:\Users\[Username]\.config\komorebi" won't be available. In order for it to be available you need to go to Settings -> About -> Advance System Settings -> Advanced Tab -> Environment Variables, then there on the user variables you need to press the New button to add one with name KOMOREBI_CONFIG_HOME and value C:\Users\[Username]\.config\komorebi (replace [Username] with your actual user name...). After this it should work normally after restart.

#

If you have any issue trying to create the environment variable like this you can search on google for help...