blob: b9bd09f902f297c07ff2e501b44eeb8c14fed2d8 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if [ "$DESKTOP_SESSION" = "xfce" ]; then
xfce4-session-logout
else
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'
fi
|