conky-based desktop-widget countdown for days until a specific date
You need to have conky installed:
sudo apt-get install conky-all -y
- Extract the compressed file:
tar -xvf count-the-days.tar.gz
- Go to the
.count-the-days
folder and make sure the .sh and .py files have executable permissions:
cd .count-the-days
sudo chmod +x *.[ps][yh]
to make sure:ls -l
- Edit the
count-the-days.py
file to use the date you want to count down to:
vi count-the-days.py
- Move the
.count-the-days
folder to your home directory:
mv . ~
- To run, execute the
start.sh
script:
sh start.sh
.
Or in the terminal run:
conky -c ~/.count-the-days/count-the-days.conkyrc
- To autostart add:
sh -c "conky -p 15 -c ~/.count-the-days/count-the-days.conkyrc"
in startup applications. This will pause the start of conky for 15 secs to allow the window manager to load first.
I have found this a while ago and realized that the conky config file was outdated, so I changed it to work with the current version of conky. I can't remember where I found it so if the original creator sees this make sure to let me know so I can give them the credits they deserve.