added pywal color stuff

This commit is contained in:
Niklas 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

3
.zshrc
View File

@ -50,6 +50,9 @@ else
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
fi
# wal subshell
(cat ~/.cache/wal/sequences &)
DISABLE_UPDATE_PROMPT=true
DISABLE_AUTO_UPDATE=true
ZSH_CACHE_DIR="$XDG_CACHE_HOME/oh-my-zsh" # mkdir ~/.cache/oh-my-zsh