Rename wallpaper_set to wallpaper_select
[khome.git] / home / bin / wallpaper_select
diff --git a/home/bin/wallpaper_select b/home/bin/wallpaper_select
new file mode 100755 (executable)
index 0000000..7832031
--- /dev/null
@@ -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 '%'
This page took 0.022982 seconds and 4 git commands to generate.