LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
9.63k stars 200 forks source link

[BUG]: Cannot start bar #1018

Open tim-hilde opened 1 month ago

tim-hilde commented 1 month ago

Describe the bug Trying to start the bar fails

Screenshots and Videos

komorebic.exe start --bar
Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...Started!
Error: Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgef�hrt werden: Das System kann die
angegebene Datei nicht finden.
In Zeile:3 Zeichen:3
+   Start-Process komorebi-bar -WindowStyle hidden
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Operating System

OS Name:                   Microsoft Windows 11 Business
OS Version:                10.0.22631 N/A Build 22631

komorebic check Output

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\TimHildebrandt

Looking for configuration files in C:\Users\TimHildebrandt

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\TimHildebrandt\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

Additional context Fresh install

Mahmoud-Azamtta commented 1 month ago

I have the same problem here. At first I installed it using winget, and this error didn't show up, but I had an issue where only half of the bar is rendered. So I decided for whatever reason to uninstall it and and reinstall it with scoop and got this error🤷‍♂️.

juancarlis commented 1 month ago

Same Issue. Updated komorebi with scoop to 1.29 and when running got this message:

Start-Process 'komorebi.exe' -ArgumentList '--config="C:\Users\jicarlis\.config\komorebi.json"' -WindowStyle hidden
Waiting for komorebi.exe to start...Started!

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

Error: Start-Process : Este comando no se puede ejecutar debido al error: El sistema no puede encontrar el archivo
especificado.
En l�nea: 3 Car�cter: 3
+   Start-Process komorebi-bar -WindowStyle hidden
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessComman

May be I'm missing some config for the status bar.

LGUG2Z commented 1 month ago

Unfortunately we are still waiting for this PR to be merged in the Scoop Extras repo which adds references for the new komorebi-bar.exe binary: https://github.com/ScoopInstaller/Extras/pull/14097

The timeline for this is out of my hands.

juancarlis commented 1 month ago

I installed it with winget and it worked. Thanks!