소스 검색

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