From 21cb5e1e6f81b1742d8472540549cdaaa0800cc4 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Thu, 5 Jun 2025 22:03:51 -0700 Subject: [PATCH] feat(stackbar): set title as default label Following discussing in #1475, and considering the default of the komorebi widget in komorebi-bar, this commit updates the default StackbarLabel from Process to Title. resolve #1475 --- komorebi/src/stackbar_manager/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebi/src/stackbar_manager/mod.rs b/komorebi/src/stackbar_manager/mod.rs index 49181462..d89b83b5 100644 --- a/komorebi/src/stackbar_manager/mod.rs +++ b/komorebi/src/stackbar_manager/mod.rs @@ -28,7 +28,7 @@ pub static STACKBAR_UNFOCUSED_TEXT_COLOUR: AtomicU32 = AtomicU32::new(11776947); pub static STACKBAR_TAB_BACKGROUND_COLOUR: AtomicU32 = AtomicU32::new(3355443); // gray pub static STACKBAR_TAB_HEIGHT: AtomicI32 = AtomicI32::new(40); pub static STACKBAR_TAB_WIDTH: AtomicI32 = AtomicI32::new(200); -pub static STACKBAR_LABEL: AtomicCell = AtomicCell::new(StackbarLabel::Process); +pub static STACKBAR_LABEL: AtomicCell = AtomicCell::new(StackbarLabel::Title); pub static STACKBAR_MODE: AtomicCell = AtomicCell::new(StackbarMode::Never); pub static STACKBAR_TEMPORARILY_DISABLED: AtomicBool = AtomicBool::new(false);