hbspbar

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

commit cf562d8ce1bc65e79a83e13b1f232e322d7a62ca
parent 2f2a90ba85c36a0935840654fd45d9a8a9798610
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 21 Feb 2024 18:32:47 +0000

Add the fallthrough that should've been there for ages

Diffstat:
Mbar.go | 2+-
Mmain.go | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bar.go b/bar.go @@ -195,7 +195,7 @@ func Destroy(state *bspc.State, id int) error { func Cleanup(state *bspc.State) { if state != nil { for _, b := range bars { - b.destroy(finalstate) + b.destroy(state) } } } diff --git a/main.go b/main.go @@ -72,6 +72,7 @@ func main() { if err == nil { switch event.Name { case "monitor_add": + fallthrough case "monitor_geometry": Create(state, id) case "monitor_remove":