voidrice/.local/bin/tools/setbg
2019-05-18 00:07:32 -04: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