voidrice/.scripts/tools/setbg
2019-01-15 19:48:22 -05:00

4 lines
233 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 --maximize ~/.config/wall.png