Update i3-exit

Now the polybar is capable of rebooting the computer on FreeBSD without
needing root access
This commit is contained in:
cizordj
2021-02-14 14:49:33 -03:00
parent c30f401cd0
commit d6e3c81ace
+4 -2
View File
@@ -20,9 +20,11 @@ case "$1" in
logout)
i3-msg exit ;;
reboot)
systemctl reboot ;;
systemctl reboot || doas /sbin/reboot
;;
shutdown)
systemctl poweroff ;;
systemctl poweroff || doas /sbin/poweroff
;;
*)
printHelp ;;
esac