hbspbar

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

commit 4e17f1290c9c07f8a7e91662295dc84f21f6cbae
parent cf562d8ce1bc65e79a83e13b1f232e322d7a62ca
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 21 Feb 2024 18:35:14 +0000

No longer need finalstate

Diffstat:
Mmain.go | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/main.go b/main.go @@ -12,10 +12,6 @@ import ( "hhvn.uk/hbspbar/status" ) -// Store the state for when bar.Cleanup() is called -// This is a bit hacky but I don't really see any alternative -var finalstate *bspc.State = nil - func main() { signals := make(chan os.Signal, 1) signal.Notify(signals, @@ -91,5 +87,5 @@ func main() { } } - Cleanup(finalstate) + Cleanup(state) }