Commit Graph

682 Commits

Author SHA1 Message Date
enkore
e1adae6b59 python -m i3pystatus.mkdocs
close #47
close #45
close #37
2014-04-10 16:51:57 +02:00
enkore
5c2c3fc533 Merge pull request #41 from jasonmhite/master
Optionally skip MAC address check in network
2014-04-02 22:57:41 +02: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
enkore
4ed3f93678 Merge pull request #44 from gwarf/allow_clock_color_customization
clock: allow to specify a custom color and/or to use i3bar default color
2014-03-27 19:19:40 +01: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
enkore
8a6560897e Merge pull request #43 from jedrz/configurable-interval-tests
Add tests for adding interval setting automatically
2014-03-12 20:56:22 +01:00
Łukasz Jędrzejewski
80f11c95d0 Add tests for adding interval setting automatically 2014-03-12 20:10:07 +01:00
enkore
6c6184897a Merge pull request #42 from jedrz/configurable-interval
Configurable interval for every IntervalModule
2014-03-12 15:31:45 +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
enkore
3a79ed5dc7 Merge pull request #39 from siikamiika/master
Don't create new socket for every MPD query
2014-03-09 14:06:50 +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
enkore
07fbfc6640 Merge pull request #38 from jedrz/alsa-fix-muted-formatter
alsa: do not ignore unmuted setting
2014-03-05 20:01:24 +01: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
enkore
a0bc7f784f ... 2014-02-02 00:22:16 +01:00
enkore
ca962fff49 Update README 2014-02-02 00:20:15 +01:00
Arvedui
d0885b4fbc added module cpu_usage 2014-02-01 21:13:56 +01:00
enkore
3952001604 Update README.rst 2014-01-23 15:10:32 +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
774715a8c8 Maybe... 2014-01-16 23:10:06 +01:00
enkore
4301ddd2d7 monospace for defaults 2014-01-16 23:05:47 +01:00
enkore
0a897e64ab Missed that link 2014-01-16 23:04:32 +01:00
enkore
ff138a503e Fix some rst text. 2014-01-16 23:03:07 +01:00
enkore
9525c61463 Why the heck does this show up again and again? I don't even have a xrandr.py file anymore on my entire system! 2014-01-16 13:41:47 +01:00
enkore
801dee32c2 Mbox 2014-01-16 13:40:18 +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
enkore
87a8ae1177 Merge pull request #31 from talwrii/master
mbox -- mail backend to deal with mbox files as used by procmail, for ex...
2014-01-02 12:25:35 -08: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
e9e6dd1bf6 Update README 2013-11-24 19:38:44 +01: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