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

master
Olivier DOSSMANN 2023-12-02 12:57:57 +01:00
parent 484b1cbbd5
commit 261eabb7f2
1 changed files with 1 additions and 1 deletions

View File

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