Precis! Jag körde pywal. Inget hände.
Ser detta bra ut?
conky_background_process.sh
#!/bin/sh
while inotifywait -qqe modify $HOME/.cache/wal/colors.Xresources; do killall conky ; /home/master/conky/test2/start_conky.sh ; done
start_conky.sh
#!/bin/sh
colors=`cat $HOME/.cache/wal/colors.Xresources | grep "*color" | tr -d "*:#"`
cat template_conky.conf | awk -v srch="COLORFIELD" -v repl="$colors" '{ sub(srch,repl,$0); print $0 }' > /home/master/conky/test2/conky_wal.conf
conky -c /home/master/conky/test2/conky_wal.conf
Sedan kör jag :
/home/master/conky/test2/conky_background_process.sh &
Och sedan :
sh /home/master/conky/test2/start_conky.sh