update menu scripts

This commit is contained in:
Never Gude 2026-01-25 15:44:54 +01:00
parent b8c24493ca
commit 18514b11a5
4 changed files with 12 additions and 18 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env fish
set input_options "󰤄 Suspend" "󰐥 Poweroff" "󰜉 Reboot"
set input_options "󰌾 Lock" "󰤄 Suspend" "󰐥 Poweroff" "󰜉 Reboot"
set input (menu $input_options)
@ -12,14 +12,17 @@ if test $check = $check_options[1]
end
switch $input
case $input_options[1]
case $input_options[1]
swaylock -f
case $input_options[2]
swaylock -f
systemctl suspend
case $input_options[2]
case $input_options[3]
systemctl poweroff
case $input_options[2]
case $input_options[4]
systemctl reboot
end