From 13416666398a232d5a92fa3be6c1010d3cd2d038 Mon Sep 17 00:00:00 2001 From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:01:14 +0100 Subject: [PATCH] feat: add suspend option in poweroptions script --- sway/.config/sway/swayscripts/misc/poweroptions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sway/.config/sway/swayscripts/misc/poweroptions.sh b/sway/.config/sway/swayscripts/misc/poweroptions.sh index 1eba582..96b21c2 100755 --- a/sway/.config/sway/swayscripts/misc/poweroptions.sh +++ b/sway/.config/sway/swayscripts/misc/poweroptions.sh @@ -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