home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Centralize wallpaper-related filenames in lib/login_variables.sh
[khome.git]
/
home
/
bin
/
wallpaper_select
diff --git
a/home/bin/wallpaper_select
b/home/bin/wallpaper_select
index
7832031
..
257fd9f
100755
(executable)
--- a/
home/bin/wallpaper_select
+++ b/
home/bin/wallpaper_select
@@
-1,7
+1,6
@@
-#! /bin/sh
+#! /bin/
ba
sh
-set -e
+set -e
uo pipefail
-FAVS_FILE=~/fav-wallpapers.txt # TODO Centralize in lib/vars
-
-khomenu -l 50 < "$FAVS_FILE" | awk '{sub("^" $1 " +", ""); print}' | xargs -I% feh --bg-scale '%'
+sort -k 2 "$FILE_WALLPAPER_FAVS" | khomenu -l 50 | awk '{sub("^" $1 " +", ""); print}' > "$FILE_WALLPAPER_CURR"
+~/.xlaunch.d/background
This page took
0.030178 seconds
and
4
git commands to generate.