mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 15:18:40 +01:00
replace-configuration ran the PowerShell that stops and starts komorebi-bar (one to three powershell_script::run calls, each seconds) with the window manager locked. The block is now fn restart_bars and runs on a thread of its own, started after the new window manager is in place (the lock is released when the command returns); its errors are printed as before, but no longer returned to the client. BEHAVIOUR: the command replies before the bars are restarted (a client that waited for the bar to exist after replace-configuration must now wait for it), and an error reading the config for the bar section is printed instead of returned. Only affects a daemon that has a bar running. Gate needed: Windows e2e commands and config_reload (no bar in the e2e), a manual check with a bar. Verified: Windows clippy -D warnings via tools/fast-check PASS; e2e not run.