GitXplorerGitXplorer
a

conky

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c3ba6165655bcce9f9110f8212e752d06a4536b2

resized conky.png image

aaanm committed 9 years ago
Unverified
9829c3ce790c314afbd8daddaf5f7fb23b0fa71e

added example image and rewrite README.md

aaanm committed 9 years ago
Unverified
65ff1145df84625c59f51f4f06cf5595b1a71d04

Changed temp_units to the same XML value

aaanm committed 9 years ago
Unverified
624517f0a3154e302bbadedb92b2d1292902daad

Bug fixes

aaanm committed 10 years ago
Unverified
589cc90c3ba7e7afeef41a7513625e2eb53a1b57

Changed version to a more correct one.

aaanm committed 10 years ago
Unverified
163b878d68ad803e81ad006d1caea33d5ccdcbff

Changed README.md

aaanm committed 10 years ago

README

The README file for this repository.

Conky

This repository provides a public copy of my conky configuration. There are instructions bellow to make your own configuration in less than 5 minutes.

conky-image

How do I set this up?

First you have to install conky in your distro.

# dnf install -y conky

and some dependencies for this project:

$ pip install python-dateutil
# or
# dnf install -y python-dateutil

conky_config.sample

The conky_config.sample is just a template. To make it your own, you just have adjust some environment variables to create your own configuration file.

If you use an external HDD and you want to see it in you conky when you plug it, set the environment variable HDD_PATH with your HDD's mounting point, for example:

export HDD_PATH="/run/media/external_disk"

If you don't use any external HDD set the environment variable COMMENT with #:

export COMMENT="#"

Set the path where you will put your configuration files, including the signal.sh file, and create that directory.

$ export CONKY_PATH=$HOME/.conky
$ mkdir -p ${CONKY_PATH}

Finally, run the following command with the variables that you have set.

$ envsubst '$CONKY_PATH,$COMMENT' < conky_config.sample > conky_config
$ # Or this one
$ envsubst '$CONKY_PATH,$HDD_PATH' < conky_config.sample > conky_config

Open your conky_config and check if it is correctly written.

If you use a 3G bundle you can try and see if the signal.sh script gives any value for the 3G bundle signal. If it doesn't, you can remove line 156 from conky_config file.

If you use Nvidia Drivers (oficial drivers) uncomment lines 107-110.

weather_update.py

This is a small python script to download weather data from openweathermap.org.

It is necessary to register in order to get you API ID, for more info see here: http://openweathermap.org/appid

You can find your city's ID by searching in: http://openweathermap.org/find?q=

You will need to change lines 35 and 36 in order for this script work.

fonts/

I can't remember from where I have downloaded these fonts. I didn't create any of them and unfortunately I don't know who the author is. They are fundamental for conky weather output to be pretty.

To install those fonts just copy them to ${HOME}/.fonts directory and should be sufficient.

All done, I want to see pretty things!

Just copy signal.sh, weather_update.py and conky_config to your ${CONKY_PATH} directory.

Then run the following command conky -c ${CONKY_PATH}/conky_config and you'll be able to see something similar to the image above. If not, don't be afraid on changing some numbers in that configuration since many of them just represent coordinates.