wpg update

master
Daniel Napora 2021-11-05 01:50:54 +01:00
parent 0c40c59e2e
commit 57eb481b5f
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
reload-gtk
killall conky killall conky
sleep 1
wallp="$(< "${HOME}/.cache/wal/wal")" wallp="$(< "${HOME}/.cache/wal/wal")"
nitrogen --set-scaled ${wallp} --save
cp "$HOME/.config/wpg/samples/${wallp##*/}_wal_sample.png" "$HOME/.config/conky/images/colors-colorize.png" cp "$HOME/.config/wpg/samples/${wallp##*/}_wal_sample.png" "$HOME/.config/conky/images/colors-colorize.png"
nitrogen --set-scaled ${wallp} --save
mb-conky-session --autostart mb-conky-session --autostart
#echo ${wallp##*/} #echo ${wallp##*/}
reload-gtk