fix(Scripts): Correction sur la vérification wayland/Xorg
This commit is contained in:
parent
484b1cbbd5
commit
261eabb7f2
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user