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:
parent
b50806259b
commit
029dfbc840
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user