wallpaper path sanitized
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user