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
enkore
00c230f4f8
Update battery tests, add case for #66 , fix #66
2014-06-13 23:23:29 +02:00
enkore
8f0ac4bdb6
Possible "fix" for #69
2014-06-13 20:25:28 +02:00
enkore
2dfbeb0952
Integrate Itella with TrackerAPI (untested) #62
2014-06-13 20:19:26 +02:00
enkore
4a13687e6a
Merge branch 'master' of https://github.com/siikamiika/i3pystatus into siikamiika-master
2014-06-13 20:12:24 +02:00
enkore
2a77d15f6c
network: changed detached_down default
2014-06-13 20:06:46 +02:00
Tom X. Tobin
bd66997f2f
Support optional "format_muted" setting for audio modules
...
The alsa and pulseaudio modules now support an optional "format_muted"
setting. If provided, it will be used instead of "format" when the audio
is muted.
2014-06-11 18:58:41 -04:00
Tom X. Tobin
df50913332
Support bonded interfaces under Linux
...
The "network" and "wireless" modules now support interfaces enslaved to
a bonding master. We check sysfs for bonded interfaces, and update each
slave's AF_INET/AF_INET6 from its master.
2014-06-10 21:43:09 -04:00
Goran Mekić
cf369f8e53
Next song on right click in MPD.
2014-06-01 11:51:01 +02:00
eBrnd
21e829fb07
fix a copypaste error / typo
2014-05-31 09:26:33 +02:00
siikamiika
e86c3137d2
move bs4 import to run to avoid unnecessary ImportErrors
2014-05-23 18:35:57 +03:00
siikamiika
926b0ba94c
Itella tracking for parcel module
2014-05-23 17:48:55 +03:00
enkore
36142a96c8
Merge pull request #60 from andresmrm/patch-3
...
Enable define round digits.
2014-05-19 15:13:34 +02:00
enkore
68ca823fce
Merge pull request #59 from andresmrm/patch-2
...
Allow round to INT
2014-05-19 15:13:28 +02:00
Andrés Martano
350d7db3aa
Enable define round digits.
2014-05-10 11:23:57 -03:00
Andrés Martano
29cdbf72b8
Allow round to INT
...
In round_dict, if places is None, round to INT.
2014-05-10 10:40:00 -03:00
Andrés Martano
ce47d69174
configurable color and round parameters
...
Allows to configure color parameter and round value.
The last, for None->INT to work, needs more one change in utils.py that I will propose now too.
2014-05-10 10:35:54 -03:00
enkore
d2f2ed7ee4
Merge branch 'master' of https://github.com/al45tair/i3pystatus into netifaces
2014-05-10 13:43:34 +02:00
Alastair Houghton
8103cf35a1
Replaced references to netifaces-py3 with netifaces.
2014-05-10 12:11:22 +01:00
enkore
b45261164a
mpd: remove unused format_time
2014-05-06 14:26:28 +02:00
enkore
71c030a82e
pep8
2014-05-05 10:57:14 +02:00
enkore
b2bb47b0a2
weather: normalize quotes
2014-05-05 10:55:06 +02:00
enkore
903d9b000c
weather: add "Partly Cloudy" to color_icons
2014-05-05 10:53:41 +02:00
enkore
19e5a87f2f
Merge branch 'weather_color' of https://github.com/dubwoc/i3pystatus
2014-05-05 10:46:52 +02:00
dubwoc
2a47e84cc2
Introduce a colorize option for the weather status plugin.
...
Add an option to change the color and add an icon in the display based
on the text returned from weather.com. For example, if the waether is
considered "Sunny" by weather.com the weather text will be set to a
golden yellow and a little snow will be added to the display.
2014-05-03 12:05:55 -04:00
enkore
69d33633f1
text: add cmd_leftclick and cmd_rightclick options
2014-05-03 15:45:10 +02:00
enkore
f06a76ad52
PEP8
2014-04-30 14:51:41 +02:00
enkore
24d5795396
Merge spotify module ( #53 )
2014-04-28 10:43:55 +02:00
enkore
6297fc78f0
Merge branch 'master' of https://github.com/cganas/i3pystatus into spotify
2014-04-28 10:33:54 +02:00
cganas
a26efaac95
added spotify support.
2014-04-28 02:23:27 -04:00
enkore
4109515914
Some documentation stuff
2014-04-23 14:45:29 +02:00
Arvedui
a898110d7e
rewritten DHL function in parcel modul
...
fixed #28
2014-04-20 13:46:16 +02:00
enkore
109c217253
Minor readme updates
2014-04-17 14:50:34 +02:00
enkore
6b2bafa35f
Merge pull request #51 from sbrunner/dev
...
Some litile improvments
2014-04-16 18:58:44 +02:00
Stéphane Brunner
77b03bbc44
Add alert on CPU load
2014-04-16 18:03:16 +02:00
Stéphane Brunner
6d8dba3468
Make battery colors configurable
2014-04-16 18:03:16 +02:00
Stéphane Brunner
5aef5f529a
CURRENT_NOW isn't always present
2014-04-16 18:03:16 +02:00
Stéphane Brunner
1f80fb4e19
Add display and critical limit in the disk module
2014-04-16 18:03:16 +02:00
Stéphane Brunner
d0a38e036c
Open email client and refresh email with mouse click
2014-04-16 18:03:16 +02:00
Armin Fisslthaler
0e7ecd1d67
prefer non link-local v6 addresses
2014-04-15 21:51:51 +02:00
enkore
496d8ffa35
3.28
2014-04-14 15:34:32 +02:00
Michael Schmidt
ddd4e76bb8
settings changed\n documentation added
2014-04-13 00:25:28 +10:00
Michael Schmidt
e642a2d687
bug fixing...maildir backend working
2014-04-13 00:17:18 +10:00
Michael Schmidt
bbc7e107fd
maildir support added
2014-04-12 23:53:24 +10:00
Jason Hite
10aca8d489
Better checking of the MAC address
...
Use a Try... Except... block instead of a function flag when checking
for the MAC address. This has the benefit of requiring no changes for
user, but fixes the problem with interfaces that do not have MACs.
2014-04-02 15:49:05 -04:00
Jason Hite
3bbd8d4765
Optionally skip MAC address check in network
...
Network interfaces don't necessarily have a MAC address. For example,
the tunnel devices created by OpenVPN do not. Previously, passing a
network interface that did not have a MAC address caused the network
module to fail, since it assumed that there would be one.
This commit just adds a flag to the network module "mac", which defaults
to True. If True, the module behaves like before. If False, the check
for the MAC address is skipped and the {mac} format variable is replaced
with "NONE".
I tested this with my OpenVPN interface as well as my regular interface
and it works fine.
2014-04-02 15:34:35 -04:00
Baptiste Grenier
5c825436f2
clock: allow to specify a custom color and/or to use i3bar default color.
2014-03-27 18:49:18 +01:00
enkore
9356b5476a
Merge pull request #35 from aaron-lebo/master
...
Update weather.py
2014-03-19 16:15:46 +01:00
Łukasz Jędrzejewski
5fe6d049d2
Configurable interval for every IntervalModule
...
settings attribute for every class inheriting from IntervalModule are
automatically extended by interval setting if it does not exist.
A function to flatten settings in SettingsBase was extracted and added
as a static method.
2014-03-10 17:06:40 +01:00
enkore
a1e87c607c
Merge pull request #40 from jorio/mem-standard-formatting
...
mem: allow standard float formatting syntax
2014-03-09 16:10:14 +01:00
Iliyas Jorio
4691a53589
mem: allow standard float formatting syntax
...
Floats in mem.py can now be formatted with a standard format string
(e.g. {avail_mem:.2f}) instead of needing an extra `round` parameter.
This brings this module in line with the expected behavior in the rest
of i3pystatus.
2014-03-08 19:48:58 +01:00
siikamiika
2889a61060
test script removed
2014-03-08 17:56:17 +02:00
siikamiika
56822a3cec
Clean unused code and fix clicks
2014-03-08 17:49:45 +02:00
siikamiika
e525d4fa28
Better put fdict construction inside try
2014-03-08 05:53:52 +02:00
siikamiika
380efde089
Handle MPD connection errors
2014-03-08 04:59:08 +02:00
siikamiika
850501430d
Don't create new socket for every MPD query
2014-03-08 03:05:01 +02:00
Łukasz Jędrzejewski
f2dcd6214e
alsa: do not ignore unmuted setting
2014-03-05 14:33:37 +01:00
aaron-lebo
acc5c312b6
Update weather.py
2014-02-21 23:48:05 -06:00
enkore
0068e1bf0f
Fix cpu_usage not accepting settings
2014-02-03 01:31:17 +01:00
enkore
708f2cb03f
Is done automatically
2014-02-02 00:24:09 +01:00
Arvedui
d0885b4fbc
added module cpu_usage
2014-02-01 21:13:56 +01:00
enkore
e682d974b7
mem: fix typo warn_percentage
2014-01-23 15:08:58 +01:00
Arvedui
d2529c6f31
fixed code/doc inconsistency with divisor in mem module
2014-01-23 13:42:57 +01:00
Arvedui
165049862b
added 2 warning states, color support, support for user defined devisor, configurable rounding of byte values for mem module and fixed used memory calculation in mem module
2014-01-22 22:23:14 +01:00
enkore
5fc8ed3f8e
...
2014-01-16 23:13:16 +01:00
enkore
9273700ec1
Okay, that didn't work
2014-01-16 23:11:09 +01:00
enkore
723c644658
Merge branch 'master' of github.com:enkore/i3pystatus
2014-01-16 13:39:57 +01:00
enkore
aa09079903
Add detached_down option ( #26 )
...
And some other stuff I obviously forget to commit last time.
Oh, that's just the RST port... okay :)
2014-01-16 13:39:17 +01:00
Talwrii
d7e537fdf3
mbox -- mail backend to deal with mbox files as used by procmail, for example.
2014-01-01 21:40:30 +00:00
enkore
a4e6e540dc
mem: Change used_mem semantics, so that it matches vm.percent and htop's memory usage report
2013-11-14 11:23:21 +01:00
enkore
c43a22c46d
Optimize imports
2013-10-31 22:33:18 +01:00
enkore
6a749bb03a
Add i3pystatus binary
2013-10-30 18:38:11 +01:00
enkore
cdf9176258
Reformat
2013-10-30 10:46:04 +01:00
enkore
d9e3dec0c2
Catch ConfigError in register()
2013-10-30 10:41:08 +01:00
enkore
a5b57601da
Make i3pystatus a namespace package
2013-10-30 10:35:24 +01:00
enkore
44790dc357
Remove non-functional __main__.py.dist
2013-10-30 10:34:39 +01:00
enkore
98ba2e69da
battery: Use alert_percentage for coloring the entry red
2013-10-24 15:36:51 +02:00
enkore
ff32f74bec
battery: formatting
2013-10-24 15:36:34 +02:00
enkore
af0f9fc585
battery: rename a few variables
2013-10-24 15:36:29 +02:00
enkore
7a20cdb8de
battery: use DesktopNotification
2013-10-24 15:36:15 +02:00