From 0e48370b7390eba2d1199231b2061a5f5e4b8dd6 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Tue, 19 Nov 2024 19:48:08 -0800 Subject: [PATCH] style(bar): add aliases for default grouping style This commit adds the "CtByte" and "CtByteWithShadow" aliases for the "Default" and "DefaultWithShadow" GroupingStyle variants respectively as an easter egg to recognize @CtByte's work in implementing the grouping feature. --- komorebi-bar/src/render.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/komorebi-bar/src/render.rs b/komorebi-bar/src/render.rs index 797d55e7..0cfe5641 100644 --- a/komorebi-bar/src/render.rs +++ b/komorebi-bar/src/render.rs @@ -219,8 +219,10 @@ pub struct GroupingConfig { #[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema)] pub enum GroupingStyle { + #[serde(alias = "CtByte")] Default, /// A black shadow is added under the default group + #[serde(alias = "CtByteWithShadow")] DefaultWithShadow, }