Commit Graph

44 Commits

Author SHA1 Message Date
enkore
f6e910c114 PEP 8 (I'm bored): battery 2014-10-14 16:32:07 +02:00
enkore
eeeb629e98 Nicer doc markup 2014-10-12 11:35:44 +02:00
Argish42
15b9484e98 def-status 2014-08-28 13:16:31 +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
910de1d40b dito, close #91 2014-07-31 17:20:09 +02:00
enkore
f07485ac81 Possible fix for #89 2014-07-30 19:42:56 +02: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
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
enkore
00c230f4f8 Update battery tests, add case for #66, fix #66 2014-06-13 23:23:29 +02:00
enkore
f06a76ad52 PEP8 2014-04-30 14:51:41 +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
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
5eb271c684 Remove PrefixedKeyDict (unused) 2013-10-23 16:54:51 +02:00
enkore
6a3090ba8a Releasing 3.27
* Add weather module (with most bugs fixed I hope)
* Add text module (in preparation for #22)
* PulseAudio module: Add muted/unmuted options
2013-10-20 18:42:54 +02:00
enkore
cdbb2f3e36 While we're at it, some other PEP8 stuff.
[obama] Except too long lines, because big screens.
2013-10-09 09:58:38 +02:00
enkore
d63896d465 Avoid non-ASCII chars 2013-10-09 09:15:24 +02:00
enkore
9feb1b7281 Partial merge of #19 2013-10-07 11:52:30 +02:00
enkore
78c01dd3e5 PEP8 2013-10-01 15:22:09 +02:00
enkore
69b702d2f1 3.24: Introduce time wrapper, remove battery remaining_* formatter(!!!) 2013-08-04 23:40:19 +02:00
enkore
e848fc4a6f Improve documentation 2013-07-31 21:39:59 +02:00
enkore
c5153ae12a 3.14: Battery: add status setting
I use it like this to save a few characters
status={
        "DIS": "↓",
        "CHR": "↑",
        "FULL": "=",
}
2013-07-05 19:58:53 +02:00
enkore
d3c310e885 Fixed a bug where the battery alert would be displayed while charging 2013-04-09 16:29:37 +02:00
enkore
085f5972af battery.interval 2013-03-08 20:34:39 +01:00
enkore
237123ae0f Small changes in battery module 2013-03-08 15:53:28 +01:00
enkore
074500007f 3.7 2013-03-08 03:30:24 +01:00
enkore
01f1587e67 ... 2013-03-08 03:11:49 +01:00
enkore
e8191da312 Reworked battery module, should work better now. Or worse. Let's find out... 2013-03-08 02:53:54 +01:00
enkore
8ef891cef6 Fix battery module status bug 2013-03-07 22:39:36 +01:00
enkore
6b03e35ad2 #7 fix default formatter 2013-03-06 23:16:28 +01:00
enkore
a76779fe7b Should fix #7 (v3.3) 2013-03-06 23:03:40 +01:00
enkore
e0f938bcac README 2013-03-05 17:29:37 +01:00
enkore
ed7f95dd34 #5: Ability to scream out loud if battery is low :-) 2013-03-05 17:26:49 +01:00
enkore
d6f1cbbd46 Fixed a bug where battery would generate no output in occasions where it should. 2013-03-02 17:35:19 +01:00
enkore
582a35e412 . 2013-02-24 22:40:29 +01:00
enkore
a89b421ebb battery 2013-02-24 21:46:29 +01:00
enkore
fcd68e1ec1 battery 2013-02-24 18:44:00 +01:00
enkore
bde56dfdec made battery module much more flexible
So I can have my old representation back... indeed you can
do pretty much anything now with it:

status.register(battery,
    format="{consumption:.2f}W {percentage:.2f}% [{percentage_design:.2f}%] {remaining_hm}"
)
2013-02-24 01:36:56 +01:00
enkore
4e06a9c2ee batterychecker → battery 2013-02-23 23:46:33 +01:00