summaryrefslogtreecommitdiff
path: root/bspc/bspc.go
diff options
context:
space:
mode:
authorhhvn <dev@hhvn.uk>2023-10-31 11:36:24 +0000
committerhhvn <dev@hhvn.uk>2023-10-31 11:36:24 +0000
commit76dc78859b31cd15c8327e64b7684fbc2063a0b4 (patch)
tree3bfb42ba66e00a053facb263e5936f842eab42e6 /bspc/bspc.go
parentc20f2aa6185c8ac1f7f309c469ea43acd8e8719c (diff)
Successfully destroys and recreates windows upon bspwm reload
Diffstat (limited to 'bspc/bspc.go')
-rw-r--r--bspc/bspc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bspc/bspc.go b/bspc/bspc.go
index 4150aaf..66a3006 100644
--- a/bspc/bspc.go
+++ b/bspc/bspc.go
@@ -186,6 +186,10 @@ func (s *Subscriber) get() (*Event, error) {
var err error
for {
line, err = s.getLine()
+ // if line == "W" {
+ // // Send this pseudo event so we know to reload the state
+ // return &Event{"reload", make([]string, 0)}, nil
+ // }
if len(line) > 0 && line[0] != 'W' { break }
}