40bb4cab868453b50452fa00f557730f08beef47
[khome.git] / home / bin / wallpaper_select
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
This page took 0.059713 seconds and 3 git commands to generate.