Skip to content

Latest commit

 

History

History
43 lines (42 loc) · 1.11 KB

README.md

File metadata and controls

43 lines (42 loc) · 1.11 KB

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)
   */30      *         *               *                *              ~/crypto.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...

~# rm coins.json  # <- it is important to reomve this file as it is a cache file
~# vim crypto.py
...
coinNames = [
    'ICX',
    'ETH',
    'EOS',
    'LTC',
    'NEO',
    '...',  # <- Add your coin here
    'DASH',
]
~# crypto.sh

Alt text