# HG changeset patch # User Meredith Howard # Date 1573877018 18000 # Node ID 63a61745e56079184ff38fa98d79b65655d8459b # Parent 013f5efa8f2ddacbd7d9abb4bde366a2fcaf9d61 keyboard exit ugh diff --git a/.i3/config.d/20-binds b/.i3/config.d/20-binds --- a/.i3/config.d/20-binds +++ b/.i3/config.d/20-binds @@ -96,7 +96,7 @@ bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -f 'pango:DejaVu Sans 10' -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+Shift+e exec sh -c '[ $(echo "NO\nYES" | dmenu -sb \#fa2 -i -p "Really Exit i3?") = "YES" ] && i3-msg exit' # resize window (you can also use the mouse for that) mode "resize" {