Sergei Turukin
b89b1c783f
PEP8 fixes
2014-12-09 16:56:35 +02:00
Sergei Turukin
45c94bd5cd
Make format configurable, fix bug, progess output
2014-12-09 16:49:27 +02:00
Sergei Turukin
a1c66f33b5
Update heuristics for getting artist/title from filename
2014-12-09 16:48:14 +02:00
enkore
4574fd5c40
weather: fix reST
2014-12-02 12:14:50 +01:00
enkore
57fda43b4e
Add uname module
2014-11-25 22:35:15 +01:00
Alex Timmermann
c2cb417fca
fix volume percentage
2014-11-19 15:35:50 +01:00
Joaquin Ignacio Barotto
8c24f6f9de
Updated the docs
2014-11-15 11:36:05 +01:00
Joaquin Ignacio Barotto
441d143810
Aded 'keyboard_locks' module, to show CAPSLOCK, NUMLOCK and SCROLLLOCK status
2014-11-15 11:35:53 +01:00
enkore
1d9614fae7
Fix #141
2014-11-07 11:22:55 +01:00
enkore
3c751882d2
Merge pull request #140 from jlucchese/master
...
Add pianobar module
2014-11-07 11:10:29 +01:00
enkore
43e9b49396
Merge pull request #139 from Arvedui/mpd_text_len
...
mpd text length
2014-11-07 11:10:07 +01:00
Simon Legner
96d7b78e2d
network_traffic: do not hide by default down iface
2014-11-04 08:22:46 +01:00
Júlio Rieger Lucchese
97c9cb7e80
Add optional event_cmd bash file into the docs
2014-11-02 15:23:00 -02:00
Júlio Rieger Lucchese
4fe4408736
Fix blank lines and whitespaces
2014-11-02 14:14:43 -02:00
Arvedui
38128eab31
fixed pep8 issue
2014-11-02 17:04:52 +01:00
Júlio Rieger Lucchese
4840362030
Add pianobar module
2014-11-02 13:21:04 -02:00
Arvedui
04eb15c330
added options text_len and truncate_fields to mpd module for taming insanly long artist, album and song names
2014-10-30 12:14:18 +01:00
Sergei Turukin
b1a7dba986
Fix module with no cmus
running
2014-10-30 11:59:18 +02:00
Simon Legner
9591de4461
network_traffic: allow to hide down interfaces
...
Interfaces which are down can be hidden or formatted differently.
The following options are added:
hide_down - whether to not display a interface which is down
format_down - format string if the interface is down (unless hide_down is set)
2014-10-30 08:23:00 +01:00
Sergei Turukin
b46c68ed50
Reset timer right on left click
2014-10-28 11:11:32 +02:00
enkore
58a3185921
Merge pull request #136 from rampage644/features/cmus
...
Add `cmus` module
2014-10-23 14:19:40 +02:00
enkore
23d4daa15f
Merge pull request #135 from rampage644/features/pomodoro
...
Pomodoro module
2014-10-23 14:19:02 +02:00
Sergei Turukin
9a83f7117e
Pep8 formatting
2014-10-23 14:38:09 +03:00
Sergei Turukin
1ca35c238e
Pep8 formatting
2014-10-23 14:35:06 +03:00
enkore
b263c66baf
Close #133
2014-10-23 12:25:40 +02:00
Sergei Turukin
2ae45ec1e7
Add cmus
module
...
Use `cmus-remote` to get info and send commands to `cmus`.
2014-10-22 18:30:40 +03:00
Sergei Turukin
c64e759b5a
Update docs
2014-10-22 18:26:20 +03:00
Sergei Turukin
e0cb834ae1
Add pomodoro
module.
...
Add _Pomodoro_ module. See http://en.wikipedia.org/wiki/Pomodoro_Technique
It uses `aplay` for playing alarm sound. It also uses `notify-send` utility
for nitification.
2014-10-22 18:26:07 +03:00
enkore
a2bb10443c
mimimi - 1.5.6 doesn't complain about that. interesting.
2014-10-14 17:40:16 +02:00
enkore
f18ee346c8
PEP 8 (I'm bored): pulseaudio
2014-10-14 16:53:09 +02:00
enkore
9e06145389
PEP 8 (I'm bored): core/util
2014-10-14 16:51:58 +02:00
enkore
b2b34ad81a
PEP 8 (I'm bored): core/modules
2014-10-14 16:50:40 +02:00
enkore
8db7b1d160
PEP 8 (I'm bored): core/io
2014-10-14 16:50:08 +02:00
enkore
3b3b716307
PEP 8 (I'm bored): mail.notmuchmail
2014-10-14 16:47:19 +02:00
enkore
2346d82ed8
PEP 8 (I'm bored): weather
2014-10-14 16:44:56 +02:00
enkore
d1725228d0
PEP 8 (I'm bored): uptime
2014-10-14 16:44:40 +02:00
enkore
ac58db5811
PEP 8 (I'm bored): text
2014-10-14 16:43:29 +02:00
enkore
f7d95a28a0
PEP 8 (I'm bored): shell
2014-10-14 16:43:15 +02:00
enkore
d782621696
PEP 8 (I'm bored): reddit
2014-10-14 16:43:02 +02:00
enkore
7b12be077d
PEP 8 (I'm bored): parcel
2014-10-14 16:41:27 +02:00
enkore
1d46cde704
PEP 8 (I'm bored): now_playing
2014-10-14 16:41:06 +02:00
enkore
45e0a13cf5
PEP 8 (I'm bored): network_traffic
2014-10-14 16:40:15 +02:00
enkore
a07539f126
PEP 8 (I'm bored): network
2014-10-14 16:38:36 +02:00
enkore
29a0278bc5
PEP 8 (I'm bored): mpd
2014-10-14 16:37:48 +02:00
enkore
c596f1b5f6
PEP 8 (I'm bored): mem
2014-10-14 16:37:04 +02:00
enkore
89fd73d9c0
PEP 8 (I'm bored): disk
2014-10-14 16:37:02 +02:00
enkore
69a62726f4
PEP 8 (I'm bored): cpu_usage_graph
2014-10-14 16:35:22 +02:00
enkore
54bae95804
PEP 8 (I'm bored): bitcoin
2014-10-14 16:35:15 +02:00
enkore
f6e910c114
PEP 8 (I'm bored): battery
2014-10-14 16:32:07 +02:00
enkore
146b952180
now_playing: hide_no_player option
2014-10-14 16:28:09 +02:00
enkore
7c6561c854
close #130
2014-10-12 18:13:59 +02:00
enkore
1fd3b748a5
...
2014-10-12 16:50:50 +02:00
facetoe
a5915a0999
Document how to switch focus to mail client on left click.
2014-10-12 21:50:52 +08:00
facetoe
c554244157
Merge https://github.com/enkore/i3pystatus into pulseaudio
...
Conflicts:
i3pystatus/pulseaudio/__init__.py
2014-10-12 19:36:52 +08:00
facetoe
556eed9fde
Added toggle mute/unmute on left click, increment/decrement volume on
...
scroll.
2014-10-12 19:30:21 +08:00
facetoe
27182f3196
Added optional volume_bar and colors.
2014-10-12 18:14:47 +08:00
enkore
b2adb09d03
Docfix
2014-10-12 11:36:12 +02:00
enkore
eeeb629e98
Nicer doc markup
2014-10-12 11:35:44 +02:00
enkore
ae1b9a8f8f
Merge pull request #126 from facetoe/vertical_bar
...
Vertical bar
2014-10-12 11:18:22 +02: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
9841cc65f8
Better.
2014-10-12 02:47:49 +02:00
enkore
344ad4647f
Moved all docs to sphinx. Nothing changes for module authors.
2014-10-12 01:32:29 +02:00
enkore
9fd557915c
Update util.py
2014-10-11 13:03:04 +02:00
facetoe
d14e7ddadc
Documented dependencies on the PyPI colour module.
2014-10-11 18:54:12 +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
facetoe
a77b06a25e
Added method for printing a graph of Unicode characters.
2014-10-06 19:23:32 +08: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
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
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
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
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
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
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
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
Alexis Lahouze
f95624d801
Added unknown_up parameter. Closes #103 .
2014-08-24 23:58:17 +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
f50e6c1cf7
core Status docs
2014-08-15 14:24:11 +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
Arvedui
b2d25f6367
updated docs
2014-08-09 16:34:57 +02:00
Arvedui
0b06082084
removed unnesecary code duplication in cpu_usage_bar, added multicore support for cpu_bar and fixed typo in cpu_usage
2014-08-09 16:34:57 +02:00
Arvedui
1520b49c92
fixed typo and updated README
2014-08-09 16:34:57 +02:00
Arvedui
79960e5cba
added multi core support for cpu usage
2014-08-09 16:34:57 +02:00
Argish42
e2cb6b8d49
TimeWrapper
2014-08-07 11:08:22 +02:00
Argish42
f6e9e4d456
Uptime
2014-08-06 23:57:06 +02:00
enkore
6de38c933f
Confirmed #74 fixed, close #74
2014-08-04 18:21:16 +02:00
enkore
5c2af069af
Fixed various issues in now_playing
2014-08-04 03:05:43 +02:00
enkore
e639335152
Much improved now_playing version with implicit player config(*).
...
(*) for most sane setups
2014-08-04 01:59:25 +02:00
enkore
92519b8d3e
Remove some cruft in mpd module
2014-08-04 01:45:02 +02:00
enkore
0cfc680080
Add now_playing module
2014-08-04 01:44:53 +02:00
enkore
bc1683beb5
Update readme #93
2014-08-01 00:03:02 +02:00
Chris Wood
e15f57f2de
Add filename tag to mpd module
2014-07-31 17:26:18 -04:00
enkore
910de1d40b
dito, close #91
2014-07-31 17:20:09 +02:00
enkore
dc4b12c386
Ai, we actually do have that function already! Thanks, close #90
2014-07-31 15:16:03 +02:00
enkore
f07485ac81
Possible fix for #89
2014-07-30 19:42:56 +02:00
enkore
366ca43d7d
Possible fix for #90
2014-07-30 19:36:40 +02:00
enkore
c0da4fce06
Possible fix for #74
2014-07-26 21:39:52 +02:00
enkore
143dc86f01
Merge pull request #87 from crwood/master
...
Reddit module
2014-07-18 20:47:27 +02:00
enkore
b5295c4cb0
Merge pull request #85 from naglis/mpd-color
...
[mpd] Add color setting
2014-07-18 20:45:54 +02:00
Chris Wood
0532b4361c
Clarify settings docstring
2014-07-18 13:03:33 -04:00
Chris Wood
70fd2190e8
Change default interval to 5 mins
2014-07-18 12:37:50 -04:00
Chris Wood
c3111ce0a0
Add reddit module
2014-07-18 12:30:07 -04:00
Chris Wood
2141e4fd2b
Add exception handling for output
2014-07-18 11:19:07 -04:00
Jörg Thalheim
d024b89429
maildir: remove useless list comprehension
2014-07-18 16:48:28 +02:00
Chris Wood
48446a9ad7
Fix operator typo in price-comparison
2014-07-18 03:38:41 -04:00
Naglis Jonaitis
1a762b9afe
[mpd] Add color setting
2014-07-18 00:08:03 +03:00
enkore
f7c8a352dc
Merge pull request #76 from atalax/master
...
Add shell module
2014-07-17 19:45:00 +02:00
enkore
8fc42e78d8
Merge pull request #78 from tomkenmag/master
...
change file attribute of 'temp' class to setting
2014-07-17 19:42:31 +02:00
enkore
d938895cdc
Merge pull request #83 from crwood/master
...
Bitcoin module
2014-07-17 19:41:55 +02:00
Jörg Thalheim
188a02989c
maildir: use os.listdir instead of ls
...
- simpler
- faster
2014-07-17 15:04:26 +02:00
Chris Wood
82df60fdd6
Add Bitcoin module
2014-07-17 01:00:55 -04:00
Chris Wood
33aba4b084
Add user_open() function
2014-07-17 00:59:27 -04:00
Josef Gajdusek
e38274b5ce
Added not_present_text and not_present_color parameters to the battery module
...
This commit also fixes i3pystatus crashing if the battery is removed while
running.
2014-07-10 16:13:43 +02:00
Josef Gajdusek
9524bf26a8
Added {quality_bar} to wireless module
2014-07-10 15:44:09 +02:00
Josef Gajdusek
61168e22de
Add {bar} to the battery module
...
Add {bar} (from util.make_bar()) formatter to the battery module. Also removed
the final .strip() call as it was eating the padding used by make_bar.
2014-07-10 15:43:51 +02:00
Josef Gajdusek
ab36aee3c2
Add charging_color and full_color parameters to the battery module
2014-07-10 15:43:42 +02:00
tomasm
b97279bab1
'file' attribute of 'temp' class changed to a setting
2014-07-09 17:14:44 +00:00
Josef Gajdusek
1c13e8d318
Add shell module
...
Add new "shell" module which can execute arbitrary shell command and display
its output.
2014-07-03 18:12:54 +02:00
Tyjak
80110775f5
add wind indication
2014-06-19 21:32:30 +02:00
enkore
3aa33932a5
Merge pull request #72 from eBrnd/master
...
add bar drawing function, and modules for showing cpu and ram usage as a...
2014-06-16 16:03:52 +02:00
eBrnd
a5b4ad0b1c
add bar drawing function, and modules for showing cpu and ram usage as a bar
2014-06-14 20:18:12 +02:00
Tom X. Tobin
18eaeb45be
Correctly detect bonded slave interface state
...
Bonded slave interfaces under Linux were incorrectly being detected as
always up. We now check sysfs directly to determine their state.
2014-06-14 11:46:50 -04:00