kimberly-build/airootfs/etc/skel/.config/i3/scripts/i3exit.sh
2021-01-26 20:03:34 +01:00

19 lines
253 B
Bash
Executable file

#!/bin/sh
case "$1" in
logout)
i3-msg exit
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {logout|reboot|shutdown}"
exit 2
esac
exit 0