wallpaper path sanitized

This commit is contained in:
Lain
2022-03-28 16:23:37 +03:00
parent c08f19b5fd
commit ce6a9a7cd3

View File

@@ -22,7 +22,7 @@ if [ ! -d "$THEME_DIR/images" ]; then
fi fi
# Copy wallpaper so it can be used in theme # Copy wallpaper so it can be used in theme
wallpaper=$(cat ~/.cache/wal/wal) wallpaper=${wallpaper// /_} # sanitize path
cp $wallpaper "$THEME_DIR/images/theme_ntp_background_norepeat.png" cp $wallpaper "$THEME_DIR/images/theme_ntp_background_norepeat.png"
# Theme template # Theme template