bin-utils/wallp.sh
2017-11-12 19:52:22 +01:00

9 lines
188 B
Bash
Executable File

#!/bin/sh
wallp=$1
: ${wallp:="$HOME/.config/wallpaper-alt.jpg"}
cp "$wallp" ~/.config/wallpaper.jpg
chmod -w ~/.config/wallpaper.jpg
DISPLAY=":0" feh --bg-fill ~/.config/wallpaper.jpg