Commit Graph

312 Commits

Author SHA1 Message Date
eBrnd
21e829fb07 fix a copypaste error / typo 2014-05-31 09:26:33 +02: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