summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorhhvn <dev@hhvn.uk>2023-11-18 15:02:35 +0000
committerhhvn <dev@hhvn.uk>2023-11-18 19:55:19 +0000
commit6a1ca4bae672d7b6edc50c9a31b0404467714edb (patch)
tree265f534184fa2b0a5fcbc8f5f0c0da7d6df58d0b /main.go
parent6117c8a98a39cd8bc1ca6b2436b6dab8873053f9 (diff)
Move all xgb using functions to drw
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4a3f043..2bbf558 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,7 @@ func main() {
common.Error("Couldn't subscribe to bspwm: %s\n", bspc.InitErr)
return
}
- defer bspc.Close()
+ defer bspc.Cleanup()
bar.Handle.NewState <- bspc.Handle.State
for _, m := range bspc.Handle.State.Monitors {