瀏覽代碼

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