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).
This commit is contained in:
Ben Buhse 2026-02-27 10:51:42 -06:00
commit 0e7d652d24
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
7 changed files with 50 additions and 11 deletions

View file

@ -10,7 +10,6 @@ These are in rough order of my priority, though no promises I do them in this or
- [ ] Support configuring bar item positions (left/center/right)
- [ ] Support overriding config location
- [ ] Add support for center-primary layout
- [ ] Support 12-hour clock format (maybe take any time format string?)
- [ ] Support per-output bar visibility
- [ ] Support more window rule options (e.g. ssd/csd)
- [ ] Support solid `background-color` fallback (no wallpaper)
@ -50,3 +49,4 @@ These are in rough order of my priority, though no promises I do them in this or
- [x] Support configuring primary vs secondary stack side
- [x] Add focused window title to bar
- [x] Add bar padding to config
- [x] Support 12-hour clock format (maybe take any time format string?)