Commit graph

5 commits

Author SHA1 Message Date
Ben Buhse
f76fa239ee
Add strftime(3) to see also for the beansprout(5)
Since the time format is customizable now, I might as well add it so
users who many not know about strftime can find all the format strings
2026-02-27 12:21:42 -06:00
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
09f43674b5
Add man pages
beansprout(1) is basically just the README and beansprout(5) is basically
just docs/CONFIGURATION.md.

By default, the man pages are generated if scdoc is availabled, but they
can also be explicitly disabled with -Dman-pages.
2026-02-25 16:02:58 -06:00