shellcheck
This commit is contained in:
parent
9de2b71289
commit
721946dc16
|
@ -9,13 +9,13 @@ if [ $# -eq 1 ]; then
|
||||||
dir=$1
|
dir=$1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
file=`sxiv -o $dir`
|
file=$(sxiv -o "$dir")
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
cp $file $bgdir/`basename $file`
|
cp "$file" "$bgdir"/"$(basename "$file")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# generate terminal colors with wal
|
# generate terminal colors with wal
|
||||||
wal -i $file
|
wal -i "$file"
|
||||||
|
|
||||||
# move temporary files to config in case .cache gets nuked hee hoo
|
# move temporary files to config in case .cache gets nuked hee hoo
|
||||||
cp "$cache/colors-kitty.conf" "$config/kitty/colors-kitty.conf"
|
cp "$cache/colors-kitty.conf" "$config/kitty/colors-kitty.conf"
|
||||||
|
@ -30,4 +30,4 @@ xrdb "$cache/colors.Xresources"
|
||||||
#wpg -s $file -l
|
#wpg -s $file -l
|
||||||
|
|
||||||
# reload bspwm
|
# reload bspwm
|
||||||
$HOME/.config/bspwm/bspwmrc reload
|
"$HOME"/.config/bspwm/bspwmrc reload
|
||||||
|
|
Loading…
Reference in New Issue