setwall (260B)
1 #!/bin/sh 2 # 3 # simple wallpaper setter 4 5 WALLPAPER_PATH="$HOME/.config/wallpapers" 6 f="$1" 7 8 if [ -n "$f" ]; then 9 [ -f "$(basename $f)" ] && f="$PWD/$f" 10 [ -L "$f" ] || ln -sfv "$f" "$WALLPAPER_PATH/current" 11 fi 12 13 feh --no-fehbg --bg-fill "$WALLPAPER_PATH/current"