mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-08 22:15:14 +02:00
fix(cli): use force-quit if stop signal fails
This commit ensures that the komorebic stop command will force-quit komorebi if the Stop SocketMessage handler fails.
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ schemars = "0.8"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
sysinfo = "0.30"
|
||||
sysinfo = { workspace = true }
|
||||
tracing = "0.1"
|
||||
tracing-appender = "0.2"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
@@ -727,7 +727,7 @@ impl StaticConfig {
|
||||
|
||||
value.apply_globals()?;
|
||||
|
||||
let stackbar_mode = STACKBAR_MODE.lock().clone();
|
||||
let stackbar_mode = *STACKBAR_MODE.lock();
|
||||
|
||||
for m in wm.monitors_mut() {
|
||||
for w in m.workspaces_mut() {
|
||||
|
||||
@@ -327,10 +327,13 @@ impl Workspace {
|
||||
}
|
||||
|
||||
if let Some(stackbar) = container_topbar {
|
||||
if let Ok(_) = stackbar.set_position(
|
||||
&stackbar.get_position_from_container_layout(layout),
|
||||
false,
|
||||
) {
|
||||
if stackbar
|
||||
.set_position(
|
||||
&stackbar.get_position_from_container_layout(layout),
|
||||
false,
|
||||
)
|
||||
.is_ok()
|
||||
{
|
||||
stackbar.update(&container_windows, focused_hwnd)?;
|
||||
let tab_height = STACKBAR_TAB_HEIGHT.load(Ordering::SeqCst);
|
||||
let total_height = tab_height + container_padding;
|
||||
|
||||
Reference in New Issue
Block a user