aboutsummaryrefslogtreecommitdiff
path: root/config/i3
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-12-11 16:33:54 +0100
committerKarel Kočí <cynerd@email.cz>2021-12-11 16:34:34 +0100
commita3402e505b26b0c652c20a14075657d8bd42e568 (patch)
tree9ba2f0338b4294b30ab1eed5142d1879135e0f4f /config/i3
parent072bea20ac530d031940069edfa458f503f1100e (diff)
downloadmyconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.tar.gz
myconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.tar.bz2
myconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.zip
i3: update dunst support
The built in keybindings are no longer valid and so we have to bind it in i3 instead.
Diffstat (limited to 'config/i3')
-rw-r--r--config/i3/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/i3/config b/config/i3/config
index 03e5081..cf22a8f 100644
--- a/config/i3/config
+++ b/config/i3/config
@@ -100,6 +100,12 @@ bindsym $mod+Shift+r restart
# Detect graphics output
bindsym $mod+Shift+o exec --no-startup-id autorandr --change
+# Notifications
+bindsym ctrl+space exec --no-startup-id dunstctl close
+bindsym ctrl+Shift+space exec --no-startup-id dunstctl close-all
+bindsym ctrl+grave exec --no-startup-id dunstctl history-pop
+bindsym ctrl+Shift+grave exec --no-startup-id dunstctl context
+
set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id loginctl lock-session $XDG_SESSION_ID, mode "default"