From 52eec999cc6501a264d52f15134dc858d11833d2 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 15 Mar 2021 09:22:22 -0700 Subject: signal i3status-wrapper when manually close a window This might mean that there is no longer a caffeinated window. --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config') 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 -- cgit v1.2.3