diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-06 15:16:42 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-06 15:16:42 -0200 |
commit | 46abb30ffb1a0cdc6c590585bed46edd5ae570df (patch) | |
tree | 23a3a394bcc61ddb57d805010ff9f824155e98b4 /xconky | |
parent | e8cd6cc95ace26322604f970d4f590788b141524 (diff) | |
download | scripts-46abb30ffb1a0cdc6c590585bed46edd5ae570df.tar.gz scripts-46abb30ffb1a0cdc6c590585bed46edd5ae570df.tar.bz2 |
Loading weather conky just if config exist
Diffstat (limited to 'xconky')
-rwxr-xr-x | xconky | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -8,17 +8,20 @@ function xconky_start { # Default one conky & - # Give time for networking - sleep 60 + # Weather + if [ -e "$HOME/.brweather.conf" ]; then + # Give time for networking + sleep 60 - # Load weather data first - weather &> /dev/null + # Load weather data first + weather &> /dev/null - # Clear cache - brweather --clean-cache + # Clear cache + brweather --clean-cache - # Weather - conky -c ~/.conky/weather/conkyrc & + # Weather + conky -c ~/.conky/weather/conkyrc & + fi } # Battery level if on laptop |