Commit graph

6 commits

Author SHA1 Message Date
Ben Buhse
040ccc14f3
Implement configurable component locations in bar
This allows the user to configure which component (title, wm_info, clock)
is rendered to which part of the bar (left, right, center).

You can also use `none` to hide the location.
2026-02-27 11:41:46 -06:00
Ben Buhse
0e7d652d24
Add time_format config for custom strftime strings
This lets the user change to any time format they want in the bar.
As part of this, we also change the bar to re-draw every second (to
allow using seconds in the time format string).
2026-02-27 11:02:45 -06:00
Ben Buhse
efd0222899
Add window title and wm info to Bar
This commit adds the focused window title to the left side of the bar
and some WM info (primary count/ratio and # of visible/total windows) to
the right side.

It also adds new vertical_padding and horizontal_padding config options
for the bar.
2026-02-27 11:02:42 -06:00
Ben Buhse
07794019dc
Move old TODO comments to docs/TODO.md 2026-02-24 16:40:58 -06:00
Ben Buhse
11cef4b2f8
Update log scopes in the various config/ files 2026-02-17 16:23:19 -06:00
Ben Buhse
b4c4019cad
Rename config files
Switch to file-as-struct for the ones that are just the configs structs
and use singular for the ones that are just parsers
2026-02-17 12:53:15 -06:00
Renamed from src/config/bar.zig (Browse further)