diff options
Diffstat (limited to 'bin/udt-powermenu.sh')
| -rwxr-xr-x | bin/udt-powermenu.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/udt-powermenu.sh b/bin/udt-powermenu.sh index 1892ef2..f867033 100755 --- a/bin/udt-powermenu.sh +++ b/bin/udt-powermenu.sh @@ -61,14 +61,17 @@ run_cmd() { if [[ $1 == '--shutdown' ]]; then notify-send 'system shutdown' 'the system is going to shutdown now' sleep 1 + udt-ledstrip off /usr/bin/loginctl poweroff elif [[ $1 == '--reboot' ]]; then notify-send 'system reboot' 'the system is going to reboot now' sleep 1 + udt-ledstrip off /usr/bin/loginctl reboot elif [[ $1 == '--sleep' ]]; then notify-send 'suspend to ram' 'the system is going to sleep now' sleep 1 + udt-ledstrip sleep /usr/bin/loginctl suspend elif [[ $1 == '--logout' ]]; then hyprctl dispatch 'hl.dsp.exit()' |
