Commit Graph

587 Commits

Author SHA1 Message Date
facetoe
27182f3196 Added optional volume_bar and colors. 2014-10-12 18:14:47 +08:00
facetoe
a789b31d6d Added multi_colors option to MemBar. 2014-10-12 15:37:51 +08:00
facetoe
fbd852b79b Modified CpuUsageBar to show either a vertical or horizontal bar. 2014-10-12 13:15:52 +08:00
facetoe
55810e1431 Added method to draw a vertical bar made of Unicode characters. 2014-10-12 12:10:03 +08:00
facetoe
296d26f432 Prevent division by zero errors. 2014-10-12 12:10:03 +08:00
enkore
1b3db989ed Update conf.py 2014-10-11 13:19:25 +02:00
enkore
3d64e8a30a Update requirements.txt 2014-10-11 13:08:16 +02:00
enkore
d4319bddc4 Update i3pystatus.core.rst 2014-10-11 13:08:01 +02:00
enkore
9fd557915c Update util.py 2014-10-11 13:03:04 +02:00
enkore
9d28c8d300 Merge pull request #125 from facetoe/cpu_usage_graph
Cpu usage graph
2014-10-11 12:59:52 +02:00
enkore
3bea6809ef Update .travis.yml 2014-10-11 12:59:09 +02:00
facetoe
d14e7ddadc Documented dependencies on the PyPI colour module. 2014-10-11 18:54:12 +08:00
enkore
c259dffdf7 Update .travis.yml 2014-10-11 12:40:45 +02:00
enkore
624329be7c Update requirements.txt 2014-10-11 12:40:34 +02:00
enkore
e125d9cd7c Update CI configuration: test install and test building docs. 2014-10-11 12:35:54 +02:00
facetoe
31a6d91b25 Added color module to i3pystatus.rst. 2014-10-11 18:10:33 +08:00
facetoe
aa349c8ba9 Added module for graphing cpu usage. 2014-10-11 16:03:13 +08:00
facetoe
2e7df52394 Modified NetworkGraph to use new ColorRangeModule class. 2014-10-11 16:02:33 +08:00
facetoe
20363b9da0 Moved color code into it's own class that other classes can inherit
from.
2014-10-11 16:02:04 +08:00
facetoe
48821e34ca Moved get_hex_color_range() from util.py to network_graph.py to prevent
breaking the build.
2014-10-11 14:52:08 +08:00
facetoe
856bc5cc24 Added module to draw a network graph in Unicode. 2014-10-11 14:43:00 +08:00
facetoe
a0d528f1d8 Added methods for retrieving network information to make the class
easier to extend.
2014-10-11 14:39:37 +08:00
facetoe
3901aa43f1 Added method to generate a list of hex color values between a start
color and end color.
2014-10-11 13:17:02 +08:00
enkore
a6fb92936d Merge pull request #123 from facetoe/master
Added method for printing a graph of Unicode characters.
2014-10-06 15:51:42 +02:00
facetoe
a77b06a25e Added method for printing a graph of Unicode characters. 2014-10-06 19:23:32 +08:00
enkore
6a9ef909b0 Update Readme 2014-10-02 17:20:31 +02:00
enkore
30203712c6 Discard README/setup.py changes 2014-10-02 17:18:36 +02:00
Frank Tackitt
16c6979ca9 Add color settings for muted/unmuted to pulseaudio plugin 2014-10-01 07:19:36 -07:00
enkore
5470d7460c Fix #119 2014-09-18 15:59:51 +02:00
enkore
025d74555d Merge pull request #118 from tomxtobin/fix-internet-util
Fix internet() test function
2014-09-15 12:10:31 +02:00
Tom X. Tobin
c8b4dc0466 Fix internet() test function
The change in commit 6989713 broke the internet() test function by
trying to access the DNS port of "www.google.de", causing it to always
return False, which in turn broke all modules calling it. We instead use
the actual domain name of Google's DNS server at IP "8.8.8.8".
2014-09-14 17:15:50 -04:00
enkore
fc015e8908 Merge pull request #117 from teto/fix_alsa_and_clock
this commit fixes 2 problems:
2014-09-14 01:02:13 +02:00
Matthieu Coudron
f748f8a4d8 this commit fixes 2 problems:
-there was a trailing comma in the clock module that would interact badly with i3pystatus & i3bar; i3pystatus seeing the comma would generate the json ** full_text : ["13 september"] ** and then i3bar would only display the last module (one may have to check for i3bar robustness). resulted in having only the clock module displayed
-the 2nd problem was with the alsa module when setting the volume to a number <0 or > 100 then the pyalsa bindings would generate the following error in .xsession-errors

    target_module.on_click(command["button"])↲
  File "/home/teto/i3pystatus/i3pystatus/core/modules.py", line 31, in
  on_click↲
      self.on_upscroll()↲
        File "/home/teto/i3pystatus/i3pystatus/alsa.py", line 95, in
	on_upscroll↲
	    self.alsamixer.setvolume( vol + self.increment)↲
	    alsaaudio.ALSAAudioError: Volume must be between 0 and 100↲
2014-09-13 23:37:16 +02:00
enkore
806ee99e93 Merge pull request #115 from teto/scroll_time_formats
With this commit, it is possible to provide a list of formats for the
2014-09-13 17:36:05 +02:00
Matthieu Coudron
389124e5c4 This commit introduces the ability for i3pystatus clock to display the
time depending on different timezones. You can set the timezone as
described on the data linked on http://www.iana.org/time-zones.

For instance:
status.register('clock',
format=[("%a %X",'Europe/Dublin'),("%X",'Europe/Paris')]
)
2014-09-06 19:18:34 +02:00
Matthieu Coudron
f3c549bb24 With this commit, it is possible to provide a list of formats for the
clock module. You can cycle through these different formats with the
mousewheel. It is backward compatible.
2014-09-05 21:08:47 +02:00
enkore
749feb54cc Merge pull request #116 from teto/alsa_mute_onclick
Right/left click will toggle mute status of alsa
2014-09-05 12:13:56 +02:00
enkore
f323917701 Merge pull request #114 from teto/change_mpd_song_on_scroll
Mousewheel up will play next song, down will play previous song
2014-09-05 12:13:25 +02:00
Matthieu Coudron
7d2a7c2828 Right/left click will toggle mute status of alsa 2014-09-05 00:37:02 +02:00
Matthieu Coudron
f5520e220b Mousewheel up will play next song, down will play previous song 2014-09-05 00:07:03 +02:00
enkore
32c1b36c93 Update readme #108 #109 #111 2014-09-04 20:17:06 +02:00
enkore
73413efe4a Merge pull request #111 from teto/mousewheel
i3 next branch send click events on mouse wheel up/down. This patch allo...
2014-09-04 14:01:08 +02:00
enkore
850841f9c8 Merge pull request #109 from teto/notmuch_autoload
This patch allows the notmuch backend to retrieve the notmuch database p...
2014-09-04 14:00:48 +02:00
Matthieu Coudron
000bdc6978 i3 next branch send click events on mouse wheel up/down. This patch allows to change the alsa volume with the mousewheel when hovering the alsa indicator 2014-08-30 00:13:57 +02:00
Matthieu Coudron
914e495c22 This patch allows the notmuch backend to retrieve the notmuch database path from the notmuch configuration file in case no "db_path" argument is passed to the Notmuch constructor.
In such a case, i3pystatus will try to load the file designed by the
environment variable NOTMUCH_CONFIG and "~/.notmuch_config". and
retrieve the value "path" of the section [database].
2014-08-28 23:14:07 +02:00
enkore
fb14041381 Merge pull request #108 from Argish42/batteryfull
Battery Module - No text when 100%
2014-08-28 16:38:20 +02:00
enkore
6989713d6c Require working DNS for internet connectivity
Relates to #102
2014-08-28 16:13:52 +02:00
enkore
566709290e Don't catch exceptions by wildcard randomly
Related #102 #100
2014-08-28 16:12:29 +02:00
enkore
eee14260f4 Alternative exception handling
Related #102 #100 and others
2014-08-28 16:11:53 +02:00
Argish42
15b9484e98 def-status 2014-08-28 13:16:31 +02:00