commit 846bac15816e3d5035ce092d1e41227eabee6dc9
parent a0ef0d354c3ad1534688c9be2803dfee7f56146b
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sun, 9 Jul 2017 16:44:28 +0200
[scrapthumb] More descriptive path in sample code.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -51,14 +51,14 @@ Some sample usages in ~/.xinitrc:
# Change wallpaper each 5 minutes
while true; do
- feh --bg-max $(~/sources/scripts/scrapthumb -rn1)
+ feh --bg-max $(/path/of/scrapthumb -rn1)
sleep 5m
done &
# Change wallpaper each 5 minutes by storing the source into
# /tmp/.scrapthumb (new with the -u flag)
while true; do
- t="$(~/sources/scripts/scrapthumb -urn1)"
+ t="$(/path/of/scrapthumb -urn1)"
src=$(echo $t |cut -d'|' -f1)
img=$(echo $t |cut -d'|' -f2)
feh --no-fehbg --bg-fill "$img"