Commit Graph
15 Commits
Author SHA1 Message Date
Csaba 5f31e89e8d feat(bar): add thai font fallback 2025-02-17 05:53:25 -08:00
Csaba d168013375 fix(bar): removed unneeded separator character on network widget 2025-02-14 15:36:01 -08:00
Csaba 4123c9a0e2 refactor(bar): resolve env vars with pathext
This commit introduces a new PathExt trait with a fn replace_env which
can ensure all environemnt variables are loaded for a PathBuf.

As part of the initial rollout this is used in komorebi-bar to look up
environment variables for the configuration switcher widget.

resolve #1131
2025-01-24 11:44:13 -08:00
Csaba a069db611f feat(bar): binary clock and no-second time formats 2025-01-11 15:11:20 -08:00
Csaba b1db417df5 feat(bar): opt to hide battery widget when charged 2025-01-09 15:49:51 -08:00
Csaba cced2a4433 feat(bar): added icon_scale to the config allowing a custom value between 1.0 and 2.0 2024-12-22 15:00:11 -08:00
Csaba 99353b8064 fix(bar): network widget spacing 2024-12-19 21:01:11 -08:00
Csaba 3c0b12f9af feat(bar): scale icon size with font size
This commit changes the way icons are displayed on the bar.

There was an issue with how app icons were sized using shrink_to_fit.

This has been changed to use fit_to_exact_size instead, relying on the
font size as a starting point and scaling it to 1.4 of its size, making
the icons to appear larger.

The same scaling was done to all the widget icons as well to make them
look unified.
2024-12-17 12:58:36 -08:00
Csaba 9d6173ecbb feat(bar): only collect enabled widgets 2024-12-09 15:11:25 -08:00
Csaba 830da89529 feat(bar): network widget - added show_default_interface and use enable to toggle the whole widget 2024-12-09 15:11:25 -08:00
Csaba f59d7a51f1 feat(bar): indicate clickable widgets 2024-12-09 15:11:25 -08:00
Csaba 1470c63cfe feat(bar): 5 new grouping styles for shadow and glow 2024-12-09 15:11:25 -08:00
Csaba 64382b18c1 fix(bar): only indicate focused window on stack 2024-12-09 15:11:25 -08:00
Csaba 07a1538905 feat(bar): add label prefix config opt
This commit makes the label prefix configurable. Users can select if
they want to show an icon, only text, or both text and an icon.
2024-10-13 10:05:11 -07:00
Csaba a9e98034b0 feat(bar): add cpu widget
This commit adds a CPU widget, following the patterns of the Memory
widget.
2024-10-13 10:05:11 -07:00