mirror of
https://github.com/adi1090x/rofi.git
synced 2026-05-03 20:13:10 +02:00
Compare commits
2 Commits
master
...
fa45a99510
| Author | SHA1 | Date | |
|---|---|---|---|
| fa45a99510 | |||
| 026d854905 |
@@ -95,9 +95,9 @@ case ${chosen} in
|
|||||||
run_cmd --reboot
|
run_cmd --reboot
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -96,9 +96,9 @@ case ${chosen} in
|
|||||||
run_cmd --reboot
|
run_cmd --reboot
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -90,9 +90,9 @@ case ${chosen} in
|
|||||||
run_cmd --reboot
|
run_cmd --reboot
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -90,9 +90,9 @@ case ${chosen} in
|
|||||||
run_cmd --reboot
|
run_cmd --reboot
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -102,9 +102,9 @@ case ${chosen} in
|
|||||||
run_cmd --hibernate
|
run_cmd --hibernate
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -102,9 +102,9 @@ case ${chosen} in
|
|||||||
run_cmd --hibernate
|
run_cmd --hibernate
|
||||||
;;
|
;;
|
||||||
$lock)
|
$lock)
|
||||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
if command -v betterlockscreen >/dev/null 2>&1; then
|
||||||
betterlockscreen -l
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif command -v i3lock >/dev/null 2>&1; then
|
||||||
i3lock
|
i3lock
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user