Swap i3blocks with polybar

This commit is contained in:
2017-11-16 16:28:12 +00:00
parent b60cddc4a9
commit 511e029ec2
13 changed files with 523 additions and 162 deletions

8
polybar/scripts/bitcoin.py Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env python3
import requests
r = requests.get('https://blockchain.info/ticker');
ticker = r.json()
print('£%.2f' % float(ticker['GBP']['sell']))