summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-01-19 10:50:13 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-01-20 13:30:32 -0700
commita7fb64f363faee3265821f266bb84a03f2a286fe (patch)
tree2cdf775168fb8b65964649c0f16360bca6098fb3 /.config
parentea703eabb3f4de041352d1092642358d6a494bca (diff)
downloaddotfiles-a7fb64f363faee3265821f266bb84a03f2a286fe.tar.gz
i3 config: don't send USR1 to i3status-wrapper upon window kill
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 88017a99..779f568a 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -72,7 +72,11 @@ mode "C-i-" {
bindsym Shift+l exec systemctl suspend, mode "default"
# kill focused window
- bindsym k exec pkill -u $USER -f --signal USR1 i3status-wrapper, kill, mode "default"
+ # Unlike in sway config we don't send USR1 to i3status-wrapper because
+ # under i3bar that causes i3status-wrapper to exit 0 for some reason.
+ # For the time being there is no need to send the signal as
+ # expensive() does nothing useful under i3.
+ bindsym k kill, mode "default"
# start dmenu (a program launcher)
bindsym Shift+p exec dmenu_run \
@@ -227,7 +231,7 @@ bindsym Mod4+Ctrl+p move up
bindsym Mod4+apostrophe layout toggle split
-bindsym Mod1+Ctrl+i exec pkill -u $USER -f --signal USR1 i3status-wrapper, kill
+bindsym Mod1+Ctrl+i 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