Implement configuration for the Bar

This adds a few new options for the bar (instead of hardcoding all of
them). fonts, text_color, background_color, positoon, and margins.

Also fixed a couple of bugs when reloading the config and destroying
layer shell and wl surfaces in the wrong order.
This commit is contained in:
Ben Buhse 2026-02-16 16:07:02 -06:00
commit 5922107579
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
9 changed files with 371 additions and 84 deletions

View file

@ -18,7 +18,11 @@ borders {
color_focused "0x89b4fa"
color_unfocused "0x1e1e2e"
}
// Tag overlay widget — shown briefly when switching tags
// Bar widget - shows the time
bar {
position top
}
// Tag overlay widget - shown briefly when switching tags
// Remove this block to disable the overlay entirely
tag_overlay {
tag_amount 10