keyboard exit ugh

Fri, 15 Nov 2019 23:03:38 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 15 Nov 2019 23:03:38 -0500
changeset 822
63a61745e560
parent 821
013f5efa8f2d
child 823
da66fb550c74

keyboard exit ugh

.i3/config.d/20-binds file | annotate | diff | comparison | revisions
--- 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" {

mercurial