Commit Graph

11 Commits

Author SHA1 Message Date
chestm007
261667e5e8 fix typo, fix issue #622 (#680) 2018-12-03 11:30:40 +00:00
Armin F. Gnosa
63485566f1 migrate simple BTC rate queries to bitcoinaverage.com v2 API (#587) 2017-06-27 18:19:19 +02:00
Maximiliano
c0cdfae1f8 mod bitcoin: multiple exchange support (#353)
* mod bitcoin: add 'volume_percent'

* mod bitcoin: Fix exception on url opening (#304)

Calling user_open as a 'Python callback' raises an exception because
this function doesn't expects 'self'.
Wrote a wrapper function as a 'Member callback' to filter it out.

* mod bitcoin: add specific exchange support

* mod bitcoin: add request age attribute

* mod bitcoin: refactor

* mod bitcoin: btc volume divisor

* bitcoin: Deal with diffrent locales

* Fixing PEP8

* mod bitcoin: Updated docs
2016-04-07 23:20:37 +02:00
enkore
612b8b07eb Update modules to a7583a9
Not updated for various reasons:
clock,
dpms,
gpu_temp,
load,
mail,
mem_bar,
modsde,
net_speed,
pianobar,
pulseaudio,
regex [no named formatters],
runwatch,
shell,
solaar,
temp,
text,
updates,
weather,
whosonlocation,
xkblayout,
zabbix


This might break something: I can't test all these modules. If it does,
file a bug / open a PR / send me a note.
2016-01-27 19:53:33 +01:00
enkore
394e80ad4e Some minor docstuff ; functionally equivalent 2015-06-17 18:11:49 +02:00
David Foucher
b6f6eeaf36 Add option to choose bitcoin symbol 2015-02-09 22:54:11 +01:00
Matthieu Coudron
d31cc380ef Follow up of https://github.com/enkore/i3pystatus/pull/149#issuecomment-67712619 .
This commit removes and replaces all the old methods 'on_*' by settings
with the same name. The old methods were renamed into more explicit names that can be used for the callbacks like "next_song","mute" etc...
For instance, you can test with:
status.register("clock",
	format=[
	    ("Format 0",'Europe/London'),
	    ("%a %-d Format 1",'Europe/Dublin'),
	    "%a %-d %b %X format 2",
	    ("%a %-d %b %X format 3", 'Europe/Paris'),
	],
	on_leftclick= ["urxvtc"] , # launch urxvtc on left click
	on_rightclick= ["scroll_format", 2] , # update format by steps of 2
	log_level=logging.DEBUG,
	)

This way much code could be removed from other modules, though I did it only for the clock module here.
2014-12-20 15:30:41 +01:00
enkore
54bae95804 PEP 8 (I'm bored): bitcoin 2014-10-14 16:35:15 +02:00
enkore
eeeb629e98 Nicer doc markup 2014-10-12 11:35:44 +02:00
Chris Wood
48446a9ad7 Fix operator typo in price-comparison 2014-07-18 03:38:41 -04:00
Chris Wood
82df60fdd6 Add Bitcoin module 2014-07-17 01:00:55 -04:00