blob: 5fddebf89f5ad18ca5e70bd228163d12e2d32623 (
plain) (
blame)
1
2
3
4
|
#!/bin/sh
# Sets the background. If given an argument, will set file as background.
[ -n "$1" ] && cp "$1" "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" && notify-send -i "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" "Wallpaper changed."
xwallpaper --daemon --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper"
|