hbspbar

[WIP] bspwm status bar
git clone https://hhvn.uk/hbspbar
git clone git://hhvn.uk/hbspbar
Log | Files | Refs

commit 764d1c63768b1bef017bb6c8c31b3dc8540a37fb
parent 0064d3f30cb971cde1ec8214224497a158bc2649
Author: hhvn <dev@hhvn.uk>
Date:   Sat, 27 Jan 2024 15:25:46 +0000

Close the redraw channel so the bars' goroutines will finish

Diffstat:
Mbar/bar.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bar/bar.go b/bar/bar.go @@ -167,6 +167,7 @@ func (b bar) draw(d drawinfo) { } func (b *bar) destroy(state *bspc.State) { + close(b.redraw) mon, _ := b.getmon(state) if (mon != nil) { mon.TopPadding(0)