home/.bin/i3-salt-logout-dunst
2017-07-30 00:04:04 -05:00

5 lines
179 B
Bash
Executable File

#!/bin/sh
if [ "`dunstify -a i3 -u 2 -t 15000 -A 1,Cancel -A 0,Logout "Logout?" "This will close all running applications and end your X session!"`" = "0" ]; then
i3-msg exit
fi