i3: add dunstctl shortcuts

master
Guillaume Dott 2021-10-29 09:28:53 +02:00
parent ac6397bd75
commit 008fa81d7f
1 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,12 @@ bindsym $mod+Shift+o restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+p exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# dunst
bindsym Control+space exec dunstctl close
bindsym Control+Shift+space exec dunstctl close-all
bindsym Control+dollar exec dunstctl history-pop
bindsym Control+period exec dunstctl context
# resize window (you can also use the mouse for that)
mode "resize" {
bindsym t resize shrink width 10 px or 10 ppt