Erik Johnson
97600454ed
Improve documentation for battery module
...
This adds a mention and usage example for ``formatp`` to hide the status
icon when the battery is full.
Resolves #232 .
2016-03-29 09:22:18 -05:00
enkore
612b8b07eb
Update modules to a7583a9
...
Not updated for various reasons:
clock,
dpms,
gpu_temp,
load,
mail,
mem_bar,
modsde,
net_speed,
pianobar,
pulseaudio,
regex [no named formatters],
runwatch,
shell,
solaar,
temp,
text,
updates,
weather,
whosonlocation,
xkblayout,
zabbix
This might break something: I can't test all these modules. If it does,
file a bug / open a PR / send me a note.
2016-01-27 19:53:33 +01:00
Lorian Coltof
ef58c5a6fa
Added the bar_design option in the format of the battery module
2016-01-03 16:43:29 +01:00
plumps
d1e3ee701a
small typo
2015-08-14 11:53:13 +02:00
plumps
873de77294
little typo in critical_level
2015-08-14 11:48:35 +02:00
plumps
f6d30ab093
changed alert_command to critical_level_command
...
this change is made to differentiate the low-energy from the critical
level one better.
new options:
- critical_level_command="<some command>"
- critical_level_percentage=int
2015-08-14 11:45:56 +02:00
plumps
f404874767
added the alert_command option
...
running a shell command before the battery is completely discharged
2015-08-10 18:41:49 +02:00
enkore
14b35c6081
Fix failing test, therefore fixing #89
2015-06-21 20:24:22 +02:00
enkore
ff519fbde0
Remove shebangs and coding tags
2015-06-17 10:32:10 +02:00
Mikael Knutsson
0bf17aa833
Fixed an accidental replace in a bullet list
2015-05-27 19:13:53 +02:00
Mikael Knutsson
848077dbfe
Fixed a typo in not_present_text
2015-05-27 19:13:53 +02:00
Mikael Knutsson
01a4a04fa1
The tests now complete successfully!
2015-05-27 19:13:53 +02:00
Mikael Knutsson
3e8e0b8b18
Added a mention of the new "ALL" battery_ident value which will summarise all batteries available
2015-05-27 19:13:53 +02:00
Mikael Knutsson
2251889855
Add support for multiple batteries
2015-05-27 19:13:53 +02:00
Gordon Schulz
c6c7e162b3
Add support for depleted batteries
...
This commit adds support for detecting depleted (empty) batteries.
Introduces new 'Depleted' battery status and a 'DPL' status mapping.
2015-01-06 12:35:45 +01:00
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