mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 04:22:48 +01:00
updating some spacing issues
This commit is contained in:
parent
3c49b3d6fa
commit
5c11b9da80
@ -61,8 +61,8 @@ run_response() {
|
||||
case "$response" in
|
||||
YES|yes|[yY])
|
||||
if [[ "$run" == "systemctl suspend" ]]; then
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
$run
|
||||
else
|
||||
$run
|
||||
@ -86,11 +86,11 @@ case $chosen in
|
||||
run_response "$(confirm_exit &)" "systemctl reboot"
|
||||
;;
|
||||
$lock)
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
run_response "$(confirm_exit &)" "systemctl suspend"
|
||||
|
||||
@ -61,8 +61,8 @@ run_response() {
|
||||
case "$response" in
|
||||
YES|yes|[yY])
|
||||
if [[ "$run" == "systemctl suspend" ]]; then
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
$run
|
||||
else
|
||||
$run
|
||||
@ -86,11 +86,11 @@ case $chosen in
|
||||
run_response "$(confirm_exit &)" "systemctl reboot"
|
||||
;;
|
||||
$lock)
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
run_response "$(confirm_exit &)" "systemctl suspend"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user