mirror of
https://github.com/arkorty/Scripts.git
synced 2026-03-18 01:07:10 +00:00
Fix bug: path variable not surrounded by quotes treated as two arguments
This commit is contained in:
6
sbg
6
sbg
@@ -14,6 +14,6 @@ FLAGS=--bg-fill # program flags
|
|||||||
WALL=$1 # original image
|
WALL=$1 # original image
|
||||||
REST=$HOME/.bg # duplicate image
|
REST=$HOME/.bg # duplicate image
|
||||||
|
|
||||||
cp $WALL $REST # make a copy
|
cp "$WALL" "$REST" # make a copy
|
||||||
$PROG $FLAGS $REST # set background
|
"$PROG" "$FLAGS" "$REST" # set background
|
||||||
$NOTIPROG "Set as background" -a $PROG -u "low" -t "2000" -I $WALL
|
"$NOTIPROG" "Set as background" -a "$PROG" -u "low" -t "2000" -I "$WALL"
|
||||||
|
|||||||
Reference in New Issue
Block a user