This commit is contained in:
Ethan Lane 2024-11-28 21:40:48 +00:00
parent 7507936818
commit f8c7220503

View file

@ -5,7 +5,7 @@ option=$(printf "Sleep\nLogout\nShutdown\nRestart" | rofi -dmenu -theme Arc-Dark
if [ "$option" = "Sleep" ]; if [ "$option" = "Sleep" ];
then then
i3lock-fancy -g -t "System Locked" -f Hack-Regular i3lock-fancy -g -t "System Locked" -f Hack-Regular
systemctl sleep systemctl suspend
elif [ "$option" = "Logout" ]; elif [ "$option" = "Logout" ];
then then
i3-msg exit i3-msg exit