updating some spacing issues

This commit is contained in:
risolij 2022-01-23 10:45:32 -07:00
parent 3c49b3d6fa
commit 5c11b9da80
2 changed files with 14 additions and 14 deletions

View File

@ -61,8 +61,8 @@ run_response() {
case "$response" in case "$response" in
YES|yes|[yY]) YES|yes|[yY])
if [[ "$run" == "systemctl suspend" ]]; then if [[ "$run" == "systemctl suspend" ]]; then
mpc -q pause mpc -q pause
amixer set Master mute amixer set Master mute
$run $run
else else
$run $run
@ -86,11 +86,11 @@ case $chosen in
run_response "$(confirm_exit &)" "systemctl reboot" run_response "$(confirm_exit &)" "systemctl reboot"
;; ;;
$lock) $lock)
if [[ -f /usr/bin/i3lock ]]; then if [[ -f /usr/bin/i3lock ]]; then
i3lock i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l betterlockscreen -l
fi fi
;; ;;
$suspend) $suspend)
run_response "$(confirm_exit &)" "systemctl suspend" run_response "$(confirm_exit &)" "systemctl suspend"

View File

@ -61,8 +61,8 @@ run_response() {
case "$response" in case "$response" in
YES|yes|[yY]) YES|yes|[yY])
if [[ "$run" == "systemctl suspend" ]]; then if [[ "$run" == "systemctl suspend" ]]; then
mpc -q pause mpc -q pause
amixer set Master mute amixer set Master mute
$run $run
else else
$run $run
@ -86,11 +86,11 @@ case $chosen in
run_response "$(confirm_exit &)" "systemctl reboot" run_response "$(confirm_exit &)" "systemctl reboot"
;; ;;
$lock) $lock)
if [[ -f /usr/bin/i3lock ]]; then if [[ -f /usr/bin/i3lock ]]; then
i3lock i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l betterlockscreen -l
fi fi
;; ;;
$suspend) $suspend)
run_response "$(confirm_exit &)" "systemctl suspend" run_response "$(confirm_exit &)" "systemctl suspend"