浏览代码

Add BackSpace bindings to kill window or session

Alois Mahdal 10 年前
父节点
当前提交
b39d11fc36
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      dotfiles/i3/config

+ 3
- 0
dotfiles/i3/config 查看文件

212
 bindsym XF86AudioLowerVolume exec "saturnin au down"
212
 bindsym XF86AudioLowerVolume exec "saturnin au down"
213
 bindsym XF86AudioMute        exec "saturnin au flip"
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
 mouse_warping none
218
 mouse_warping none
216
 
219
 
217
 
220