feat: sleep function

This commit is contained in:
hesam-init 2024-02-27 16:05:58 +03:30
parent c7b83c1d02
commit f731aca508

View file

@ -105,7 +105,7 @@ run_cmd() {
elif [[ "$1" == '--opt2' ]]; then
confirm_run 'hyprctl dispatch exit'
elif [[ "$1" == '--opt3' ]]; then
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
confirm_run 'loginctl suspend'
elif [[ "$1" == '--opt4' ]]; then
confirm_run 'loginctl hibernate'
elif [[ "$1" == '--opt5' ]]; then