X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Fwallpaper_select;h=40bb4cab868453b50452fa00f557730f08beef47;hb=15cddcbb410da3299bc341ddd4c04926b3757f89;hp=9ad2d7a4299a590f359829222d14adb023c32d6a;hpb=411d749a5958b8638675da59c5e140d9b7de2bec;p=khome.git diff --git a/home/bin/wallpaper_select b/home/bin/wallpaper_select index 9ad2d7a..40bb4ca 100755 --- a/home/bin/wallpaper_select +++ b/home/bin/wallpaper_select @@ -5,5 +5,5 @@ set -euo pipefail WALL_FILE=~/wallpaper.txt FAVS_FILE=~/wallpaper_favs.txt # TODO Centralize in lib/vars -khomenu -l 50 < "$FAVS_FILE" | awk '{sub("^" $1 " +", ""); print}' > "$WALL_FILE" +sort -k 2 "$FAVS_FILE" | khomenu -l 50 | awk '{sub("^" $1 " +", ""); print}' > "$WALL_FILE" ~/.xlaunch.d/background