Add double-quotes to avoid string splitting.

This commit is contained in:
nortega committed 2024-12-31 11:09:36 +01:00
1 parent 45375ccf9a
commit 1a618bb0c1
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ then
exit 1
elif [ $# -eq 1 ]
then
cp $1 $HOME/.local/share/wallpaper.jpg
cp "$1" "$HOME/.local/share/wallpaper.jpg"
fi
xwallpaper --zoom $HOME/.local/share/wallpaper.jpg
xwallpaper --zoom "$HOME/.local/share/wallpaper.jpg"