bin-utils/wallp.sh

9 lines
188 B
Bash
Raw Normal View History

2017-11-12 18:52:22 +00:00
#!/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