Commit Graph

522 Commits

Author SHA1 Message Date
Ł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
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
enkore
1295bf1ec5 exceptions: define format in ABC 2013-10-23 21:52:44 +02:00
enkore
702b160c93 Readme 2013-10-23 21:52:33 +02:00
enkore
7c8205392b Remove lots of dumb tests from test_core_util 2013-10-23 21:44:39 +02:00
enkore
32e68eb14d Modulelist.get 2013-10-23 21:36:20 +02:00
enkore
467339e905 Remove __repr__ from Module 2013-10-23 21:36:12 +02:00