summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-15 09:22:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-15 09:22:22 -0700
commit52eec999cc6501a264d52f15134dc858d11833d2 (patch)
tree4c95eac33da0de42d049197afc82158acf1d3e14 /.config
parent16a5d0cc0fba7ff12e638b8894ec9bb5c0984429 (diff)
downloaddotfiles-52eec999cc6501a264d52f15134dc858d11833d2.tar.gz
signal i3status-wrapper when manually close a window
This might mean that there is no longer a caffeinated window.
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index d7c5c96e..ee612f7e 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -48,7 +48,7 @@ mode "C-i-" {
bindsym --locked Shift+l exec systemctl suspend, mode "default"
# kill focused window
- bindsym k kill, mode "default"
+ bindsym k exec pkill -u $USER -f --signal USR1 i3status-wrapper, kill, mode "default"
# sway sample config says to pipe dmenu into `xargs swaymsg exec --`
# but doesn't seem necessary with wofi
@@ -254,7 +254,7 @@ bindsym Mod4+Ctrl+p move up
bindsym Mod4+apostrophe layout toggle split
# maybe C-M-i for this?
-bindsym Mod4+l kill
+bindsym Mod4+l exec pkill -u $USER -f --signal USR1 i3status-wrapper, kill
# Cycle through all workspaces on monitor. Unlike C-i j and C-i [0-9]+, these
# move the container *and* switch view to the other workspace, because there