]> Sergey Matveev's repositories - nnn.git/commitdiff
Update wallpaper
authordaru <darupeter@pm.me>
Tue, 1 Nov 2022 16:05:57 +0000 (17:05 +0100)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2022 16:05:57 +0000 (17:05 +0100)
plugins/wallpaper

index c6ff2455606199d08814b2099420004a754a100f..b91ec891abd738ea7407911cbe0a7693c2b32714 100755 (executable)
@@ -9,7 +9,7 @@
 
 if [ -n "$1" ]; then
        if [ "$(file --mime-type "$1" | awk '{print $NF}' | awk -F '/' '{print $1}')" = "image" ]; then
-         if [ "$XDG_SESSION_TYPE" == "x11" ]; then
+         if [ "$XDG_SESSION_TYPE" = "x11" ]; then
            if type nitrogen >/dev/null 2>&1; then
                    nitrogen --set-zoom-fill --save "$1"
            elif type wal >/dev/null 2>&1; then