fined tuned the exit binding
This commit is contained in:
@@ -153,7 +153,7 @@ bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e 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'"
|
||||
# bindsym $mod+Shift+e 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" {
|
||||
@@ -209,7 +209,7 @@ bindsym $mod+semicolon mode "switch"
|
||||
set $mode_system "What to do? (l) lock, (e) logout, (r) reboot, (s) suspend, (Shift+s) shutdown"
|
||||
mode $mode_system {
|
||||
bindsym l exec $screenlock; mode "default"
|
||||
bindsym e exec swaymsg exit; mode "default"
|
||||
bindsym e exec i3-msg exit; mode "default"
|
||||
bindsym r exec systemctl reboot; mode "default"
|
||||
bindsym s exec systemctl suspend; mode "default"
|
||||
bindsym Shift+s exec systemctl poweroff; mode "default"
|
||||
@@ -218,7 +218,7 @@ mode $mode_system {
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
unbindsym $mod+Shift+e
|
||||
# unbindsym $mod+Shift+e
|
||||
bindsym $mod+Shift+e mode $mode_system
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
||||
Reference in New Issue
Block a user