Merge 026d854905b28cbe0db1d9c68cc3d033ee84be18 into 093c1a79f58daab358199c4246de50357e5bf462

This commit is contained in:
James Dyke 2026-01-02 10:50:01 +00:00 committed by GitHub
commit fa45a99510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 12 additions and 12 deletions

View File

@ -95,9 +95,9 @@ case ${chosen} in
run_cmd --reboot
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;

View File

@ -96,9 +96,9 @@ case ${chosen} in
run_cmd --reboot
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;

View File

@ -90,9 +90,9 @@ case ${chosen} in
run_cmd --reboot
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;

View File

@ -90,9 +90,9 @@ case ${chosen} in
run_cmd --reboot
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;

View File

@ -102,9 +102,9 @@ case ${chosen} in
run_cmd --hibernate
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;

View File

@ -102,9 +102,9 @@ case ${chosen} in
run_cmd --hibernate
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
if command -v betterlockscreen >/dev/null 2>&1; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
elif command -v i3lock >/dev/null 2>&1; then
i3lock
fi
;;