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. |