287 B
287 B
Sway Power Action Script
Run this shell script from power off menu to either log off, restart, or power off.
rm ~/.swaynaglock
case $1 in
logout) swaymsg exit;;
,*) doas "/sbin/$1";;
esac