commit e7abf87c54804ba232cc384e238d5912d00ad598
parent e80ba2e44a66a7c02d51d8be933993ba9c4167b2
Author: daru <darupeter@pm.me>
Date: Tue, 1 Nov 2022 17:05:57 +0100
Update wallpaper
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/wallpaper b/plugins/wallpaper
@@ -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