From 261eabb7f2a7cba169c346327a8eabdad2dc7e82 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 2 Dec 2023 12:57:57 +0100 Subject: [PATCH] =?UTF-8?q?fix(Scripts):=20Correction=20sur=20la=20v=C3=A9?= =?UTF-8?q?rification=20wayland/Xorg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/random_wallpaper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/random_wallpaper b/bin/random_wallpaper index 1fc68b6..5111ebd 100755 --- a/bin/random_wallpaper +++ b/bin/random_wallpaper @@ -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."