added pywal color stuff

This commit is contained in:
2020-06-25 21:28:33 +02:00
parent 20aa483132
commit cd1f6e3f7d
3 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,9 @@
set -e
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
[ -z "$@" ] && exit 0
LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg"
@@ -13,3 +16,4 @@ feh --bg-scale $1
rm -f "$LAST_BG_LOCATION"
ln -s $1 $(realpath "$LAST_BG_LOCATION")
$SCRIPTPATH/set-color.sh

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
wal -i $(readlink $XDG_CACHE_HOME/last-bg) -n