2 Commits

Author SHA1 Message Date
James Dyke fa45a99510 Merge 026d854905 into 093c1a79f5 2026-01-02 10:50:01 +00:00
James Dyke 026d854905 make tests for i3lock and betterlockscreen POSIX compliant 2026-01-02 11:46:06 +01:00
7 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ $ ./setup.sh
</p> </p>
<p align="center"> <p align="center">
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><a href="https://github.com/maksimdymov"><img src="https:&#x2F;&#x2F;github.com&#x2F;maksimdymov.png" width="60px" alt="User avatar: Maksim" /></a><!-- sponsors --> <!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><!-- sponsors -->
</p> </p>
--- ---
+2 -2
View File
@@ -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
;; ;;
+2 -2
View File
@@ -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
;; ;;
+2 -2
View File
@@ -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
;; ;;
+2 -2
View File
@@ -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
;; ;;
+2 -2
View File
@@ -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
;; ;;
+2 -2
View File
@@ -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
;; ;;