X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Fwallpaper_select;fp=home%2Fbin%2Fwallpaper_select;h=78320311fb2069903281f8e2ca5b38897b660bee;hb=03fa4489d622a7057ea2152eecb96f3a456d874a;hp=0000000000000000000000000000000000000000;hpb=880ba5be4bae1dcd5cedaece7843d7e7fc194d54;p=khome.git diff --git a/home/bin/wallpaper_select b/home/bin/wallpaper_select new file mode 100755 index 0000000..7832031 --- /dev/null +++ b/home/bin/wallpaper_select @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +FAVS_FILE=~/fav-wallpapers.txt # TODO Centralize in lib/vars + +khomenu -l 50 < "$FAVS_FILE" | awk '{sub("^" $1 " +", ""); print}' | xargs -I% feh --bg-scale '%'