aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/powermenu.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/powermenu.sh')
-rwxr-xr-x.local/bin/powermenu.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.local/bin/powermenu.sh b/.local/bin/powermenu.sh
index 8d353c2..e7692e2 100755
--- a/.local/bin/powermenu.sh
+++ b/.local/bin/powermenu.sh
@@ -10,6 +10,8 @@ suspend=" Suspend"
hibernate="󰒲 Hibernate"
log_out="󰍃 Log Out"
+lock="swaylock -f -i "$wallpaper""
+
# Options passed to fuzzel
options="$power_off\n$reboot\n$suspend\n$hibernate\n$log_out\n$lock_screen"
lines="$(echo "$options" | grep -oF '\n' | wc -l)"
@@ -26,10 +28,10 @@ case $chosen in
doas reboot
;;
"$suspend")
- # $lock && loginctl suspend
+ $lock && zzz
;;
"$hibernate")
- # $lock && loginctl hibernate
+ # $lock && WIP
;;
"$log_out")
riverctl exit