1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-27 21:47:46 +01:00

setbg is nice, but pywal not so much

This commit is contained in:
TiynGER 2020-03-29 12:29:29 +02:00
parent b50806259b
commit 029dfbc840

View File

@ -12,11 +12,4 @@
[ -d "$1" ] && cp "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Random Wallpaper chosen."
# If pywal is installed, use it.
type wal >/dev/null 2>&1 && { wal -c
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun
xsetroot -name "fsignal:xrdb"
killall i3blocks
setsid i3blocks >/dev/null & } >/dev/null 2>&1
xwallpaper --zoom ~/.config/wall.png