.i3/config.d/20-binds

changeset 822
63a61745e560
parent 820
9363e3a29dba
equal deleted inserted replaced
821:013f5efa8f2d 822:63a61745e560
94 94
95 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 95 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
96 bindsym $mod+Shift+r restart 96 bindsym $mod+Shift+r restart
97 97
98 # exit i3 (logs you out of your X session) 98 # exit i3 (logs you out of your X session)
99 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'" 99 bindsym $mod+Shift+e exec sh -c '[ $(echo "NO\nYES" | dmenu -sb \#fa2 -i -p "Really Exit i3?") = "YES" ] && i3-msg exit'
100 100
101 # resize window (you can also use the mouse for that) 101 # resize window (you can also use the mouse for that)
102 mode "resize" { 102 mode "resize" {
103 # These bindings trigger as soon as you enter the resize mode 103 # These bindings trigger as soon as you enter the resize mode
104 104

mercurial