Skip to content

Commit

Permalink
feat(bar): komorebi widget visual changes
Browse files Browse the repository at this point in the history
The visual changes include:

* the focused_window section is now indicating the active window in a stack and has hover effect.
* custom icons for all the layouts, including `paused`, `floating`, `monocle` states.
* custom layout/state picker with configurable options.
* display format configuration for the layouts (Icon/Text/IconAndText)
* display format configuration for the focused_window section (Icon/Text/IconAndText)
* display format configuration for the workspaces section (Icon/Text/IconAndText)
  • Loading branch information
CtByte authored and LGUG2Z committed Dec 3, 2024
1 parent 40b3233 commit bb31e71
Show file tree
Hide file tree
Showing 6 changed files with 720 additions and 291 deletions.
10 changes: 10 additions & 0 deletions komorebi-bar/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,13 @@ pub enum LabelPrefix {
/// Show an icon and text
IconAndText,
}

#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema)]
pub enum DisplayFormat {
/// Show only icon
Icon,
/// Show only text
Text,
/// Show both icon and text
IconAndText,
}
Loading

0 comments on commit bb31e71

Please sign in to comment.