When you checkout this repo move all the files (apart from the README.md
) to your home directory (i.e. ~
). Make sure to move .conkyrc
as well. It is a hidden file so you might miss it
~# sudo apt install conky-all
~# virtualenv -p python3 .crypto
...
~# source .crypto/bin/activate
~(.crypto)# pip install -r requirements.txt
...
~(.crypto)# deactivate
~# crontab -e
...
# Minute Hour Day of Month Month Day of Week Command
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)
*/15 * * * * /bin/bash -c "/home/USERNAME/.conky/crypto.sh"
*/1 * * * * /bin/bash -c "/home/USERNAME/.conky/node.sh"
...
~# ls -l
...
~# source .crypto/bin/activate
~(.crypto)# python crypto.py
~(.crypto)# ls | grep 'crypto_conky.txt'
crypto_conky.txt
~(.crypto)# deactivate
~#
...
Edit the coins in crypto.py
to add your own coins by doing...
Edit the pathes and wallets in klever.sh
to add your individual stats...
~# rm coins.json # <- it is important to reomve this file as it is a cache file
~# vim crypto.py
...
coinNames = [
'BTC',
'BNB',
'KLV',
'AVA',
'KCS',
]
~# crypto.sh