#!/bin/sh # In LARBS, ~/.config/wall.png is the location of the system wallpaper. This # script, if given an argument, moves it there. This script without an # argument sets ~/.config/wall.png as the wallpaper, which is required on login # if you don't want a black screen. # # You may also give a directory name to select a random image from that # directory as a wallpaper. Be careful that the directory only has images. [ ! -z "$1" ] && cp "$1" ~/.config/assets/wallpaper.png && notify-send -i "$HOME/.config/assets/wallpaper.png" "Wallpaper changed." xwallpaper --focus ~/.config/assets/wallpaper.png