Re: Post your .conkyrc files w/ screenshots
Originally Posted by
kaivalagi
Got the solution
Create 2 script files, one to start and another to stop your conky...
to start:
Code:
#!/bin/bash
conky -c .conkyrcmpdbig &
pid=$!
echo $pid > /tmp/conkyrcmpdbig.pid
and to stop:
Code:
#!/bin/bash
if [[ -s /tmp/conkyrcmpdbig.pid ]] ;then
until ! read conkypid
do
kill "${conkypid}"
done < /tmp/conkyrcmpdbig.pid
rm -f /tmp/conkyrcmpdbig.pid
fi
Had thought of the pid, but didn't know how to catch/store it.
Very nice... I'll place that in my right-clic menu...
Originally Posted by
Bruce M.
Or one script with an icon on the panel, I call mine cia.sh (conky in action):
</snip>
Originally Posted by
Crinos512
I use 1 script, toggle-conky.sh mapped to a button on my AWN dock.
</snip>
Thanks to both for showing your copyists talents lol but the "killall conky" is the annoying part here (aside of the fact I don't use shortcuts in the panels anymore or awn)
Originally Posted by
kaivalagi
There is one problem, El_Belgicano has several conky instances, but wants to only hook into one of them (the mpd orientated one). He wants the ability to stop and start that single conky, whilst the other instances are unaffected. killall conky will close all his conky instances...
I could not even explain it better myself...
El Belgicano
-----------------
Laptop: 5 years old Asus M6N (ATI9600/9700 graphics, 512Mb RAM, Intel Mobile 1.66GHz, 60Gb HDD) running 10.04-Lucid Lynx pretty nicely.
Bookmarks