my-scripts/setbg

9 lines
165 B
Plaintext
Raw Normal View History

2021-08-31 06:25:02 +00:00
#!/bin/sh
[ $# -ne 1 ] &&
echo "Requires an image argument." &&
exit 1
cp $1 $HOME/.local/share/wallpaper.jpg
xwallpaper --zoom $HOME/.local/share/wallpaper.jpg