--- 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" {