mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-27 01:03:43 +02:00
feat: sleep function
This commit is contained in:
parent
c7b83c1d02
commit
f731aca508
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ run_cmd() {
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
confirm_run 'hyprctl dispatch exit'
|
confirm_run 'hyprctl dispatch exit'
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
|
confirm_run 'loginctl suspend'
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
confirm_run 'loginctl hibernate'
|
confirm_run 'loginctl hibernate'
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue