Browse Source

Add BackSpace bindings to kill window or session

Alois Mahdal 9 years ago
parent
commit
b39d11fc36
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      dotfiles/i3/config

+ 3
- 0
dotfiles/i3/config View File

@@ -212,6 +212,9 @@ bindsym XF86AudioRaiseVolume exec "saturnin au up"
212 212
 bindsym XF86AudioLowerVolume exec "saturnin au down"
213 213
 bindsym XF86AudioMute        exec "saturnin au flip"
214 214
 
215
+bindsym $mod+BackSpace       kill
216
+bindsym $mod+Shift+BackSpace 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-msg exit'"
217
+
215 218
 mouse_warping none
216 219
 
217 220