#!/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"