Skip to content

Commit

Permalink
feat: add suspend option in poweroptions script
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqvid committed Jun 17, 2024
1 parent 24bf60c commit 1341666
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sway/.config/sway/swayscripts/misc/poweroptions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ if [ "$response" == "1. Shutdown" ]; then
elif [ "$response" == "2. Restart" ]; then
sudo reboot now
elif [ "$response" == "3. Sleep" ]; then
echo "Unimplemented"
#loginctl suspend
loginctl suspend
else
exit 0
fi

0 comments on commit 1341666

Please sign in to comment.