all repos — nixfiles @ 35880803edc720a2ab5863b3f555cf045677f85e

System and user configuration, managed by nix and home-manager

i3: add easier keybind for exit menu
Alan Pearce alan@alanpearce.eu
Wed, 07 Mar 2018 17:43:13 +0100
commit

35880803edc720a2ab5863b3f555cf045677f85e

parent

64b1ff7265e2fb004ccd8625a0a0079f53439550

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M i3/.config/i3/configi3/.config/i3/config
@@ -158,8 +158,6 @@ # reload the configuration file bindsym $mod+Shift+c reload
 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
 bindsym $mod+Shift+p restart
-# exit i3 (logs you out of your X session)
-bindsym $mod+Shift+q 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'"
 
 # resize window (you can also use the mouse for that)
 mode "resize" {
@@ -240,6 +238,7 @@ } 
 bindsym $mod+Pause mode "$mode_system"
 bindsym $mod+Escape mode "$mode_system"
+bindsym $mod+Shift+q mode "$mode_system"
 
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)