diff --git a/wallp.sh b/wallp.sh new file mode 100755 index 0000000..b190910 --- /dev/null +++ b/wallp.sh @@ -0,0 +1,8 @@ +#!/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