mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 12:22:49 +01:00
updating some spacing issues
This commit is contained in:
parent
3c49b3d6fa
commit
5c11b9da80
@ -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"
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user