Skip to content

Commit

Permalink
style(bar): add aliases for default grouping style
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LGUG2Z committed Nov 20, 2024
1 parent 8de92ec commit 0e48370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions komorebi-bar/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 0e48370

Please sign in to comment.