Commit | Line | Data |
---|---|---|
1 | #! /bin/bash | |
2 | ||
3 | set -euo pipefail | |
4 | ||
5 | WALL_FILE=~/wallpaper.txt | |
6 | FAVS_FILE=~/wallpaper_favs.txt # TODO Centralize in lib/vars | |
7 | ||
8 | sort -k 2 "$FAVS_FILE" | khomenu -l 50 | awk '{sub("^" $1 " +", ""); print}' > "$WALL_FILE" | |
9 | ~/.xlaunch.d/background |