Commit Graph

566 Commits

Author SHA1 Message Date
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
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
enkore
75fcad26fd Better fix for #102
Rationale:
-other backends don't require internet access
-displaying last unread count w/o connection seems reasonable
-however: error handling in get_connection() is quite wildcardy,
which is no good. Should be fixed asap.

Introducing a core exception for directly displaying errors may be a good idea at this point for next.
2014-08-28 13:11:20 +02:00
Argish42
de4bc9e70f battery-full 2014-08-28 00:43:46 +02:00
Argish42
c91c792a7d battery full 2014-08-28 00:28:23 +02:00
enkore
9cdcfccb6c Possible fix for #102 2014-08-27 11:06:36 +02:00
enkore
3cea707522 Update docs #105 2014-08-26 21:18:37 +02:00
enkore
71054f2b5a Merge pull request #105 from bparmentier/master
Play song on left click even if stopped
2014-08-26 21:17:10 +02:00
enkore
065a56b54f Update readme #106 2014-08-26 21:15:10 +02:00
enkore
7077d55851 Merge pull request #106 from simon04/network_traffic
Add network traffic module
2014-08-26 21:13:16 +02:00
Simon Legner
2436aa08a2 Add network traffic module
This module allows to display packets/bytes sent/received per second.
The implementation uses `psutil.net_io_counters`.
2014-08-26 16:46:17 +02:00
bparmentier
1718ae95a4 Play song on left click even if stopped 2014-08-26 11:30:17 +02:00
enkore
22e81be3d9 Update README #104 2014-08-25 02:25:37 +02:00
enkore
271fae0af0 Merge pull request #104 from Sysnove/unknown_up
Added unknown_up parameter. Closes #103.
2014-08-25 02:17:47 +02:00
Alexis Lahouze
f95624d801 Added unknown_up parameter. Closes #103. 2014-08-24 23:58:17 +02:00
enkore
1dbbc01cc6 Merge pull request #99 from Arvedui/fix_mpd
fixed false "error connecting MPD" when no song is seleced right now"
2014-08-16 16:20:34 +02:00
Arvedui
e2bd1980ad fixed false "error connecting MPD" when no song is seleced right now" 2014-08-16 16:08:37 +02:00
enkore
f502117ae3 update readme 2014-08-15 17:01:10 +02:00
enkore
f50e6c1cf7 core Status docs 2014-08-15 14:24:11 +02:00
enkore
521804449e Merge pull request #98 from Arvedui/disable_click_events
Optionally disable click events
2014-08-15 14:22:30 +02:00
Arvedui
cee58e495c prevents start of command_endpoint thread when click_events are disabled 2014-08-15 00:16:50 +02:00
Arvedui
de3db6fb19 added option for disabeling click events 2014-08-15 00:12:18 +02:00
enkore
fed22c040f Update README #75 / #96 2014-08-09 16:59:01 +02:00