sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sleekmason
Post subject: Toggle conky and use more than one conky at a time.  PostPosted: Jul 08, 2008 - 02:59 AM



Joined: Dec 12, 2006
Posts: 194

conkytoggle.sh is a great script to have if you are constantly messing with conkys or just don't always want to see one. Mine came from a test spin of antix in virtualbox. Be sure to make it executable. I keep mine in /home/sleek, and then point to it there in my fluxbox menu.

Code:
# Filename:      conkytoggle.sh
# Purpose:       toggle conky on/off from menu
# Authors:       Kerry and anticapitalista for antiX
# Latest change: Sun April 13, 2008.
################################################################################

#!/bin/sh

if pidof conky | grep [0-9] > /dev/null
then
 killall conky
else
 conky
 fi


The second one is cool if you want to run multiple conkys. See this post for a view of what that could look like: http://www.sidux.com/PNphpBB2-viewtopic ... t-270.html

anyway, here's the script named .startconky

Code:
#!/bin/bash
#uncomment the next two lines to use another conky . . . or whatever.
#sleep 2
conky -c ~/scripts/fortunes &
#sleep 2
conky -c ~/scripts/.conkyclock &
sleep 2
conky -c ~/scripts/weather_dictionary/conkyweather &


It is currently showing that I keep my conky.rc's in my home folder, inside another named scripts. Change this to suit your needs. Again make sure to make it executable. The sleep # is the period of time the script will wait before starting that particular conky.

_________________
You've made it all the way to sidux. Sit down, rest a while:)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio