voidrice/.scripts/tools/setbg
2019-02-18 16:16:01 -05:00

4 lines
229 B
Bash
Executable file

#!/bin/sh
# Sets the background. If given an argument, will set file as background.
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
xwallpaper --zoom ~/.config/wall.png