fix(Scripts): Correction sur la vérification wayland/Xorg

This commit is contained in:
Olivier DOSSMANN 2023-12-02 12:57:57 +01:00
parent 484b1cbbd5
commit 261eabb7f2

View File

@ -9,7 +9,7 @@ minutes=15
PROGRAM=`which feh` PROGRAM=`which feh`
# Some tests # Some tests
if [[ "$XDG_SESSION_TYPE" -eq "wayland" ]]; then if [[ "${XDG_SESSION_TYPE}" == "wayland" ]]; then
PROGRAM=`which swaymsg` PROGRAM=`which swaymsg`
if [ -z "${PROGRAM}" ]; then if [ -z "${PROGRAM}" ]; then
echo "This script needs the swaymsg program." echo "This script needs the swaymsg program."