From 6a3090ba8a2a71b55aade6daee807f2227e048e0 Mon Sep 17 00:00:00 2001 From: enkore Date: Sun, 20 Oct 2013 18:42:54 +0200 Subject: [PATCH] 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 --- README.md | 15 ++++++++++++++- README.tpl.md | 10 ++++++++++ i3pystatus/battery.py | 2 +- setup.py | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0052fad..2071a3f 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,16 @@ Python 2.x. ### Release Notes +#### 3.27 + +* Add weather module +* Add text module +* PulseAudio module: Add muted/unmuted options + +#### 3.26 + +* Add mem module + #### 3.24 **This release introduced changes that may require manual changes to your @@ -503,7 +513,7 @@ __Settings:__ * `host` — (default: `localhost`) * `port` — MPD port (default: `6600`) * `format` — formatp string (default: `{title} {status}`) -* `status` — Dictionary mapping pause, play and stop to output (default: `{'stop': '◾', 'play': '▶', 'pause': '▷'}`) +* `status` — Dictionary mapping pause, play and stop to output (default: `{'play': '▶', 'pause': '▷', 'stop': '◾'}`) @@ -560,11 +570,14 @@ Available formatters: * `{volume}` — volume in percent (0...100) * `{db}` — volume in decibels relative to 100 %, i.e. 100 % = 0 dB, 50 % = -18 dB, 0 % = -infinity dB (the literal value for -infinity is `-∞`) +* `{muted}` — the value of one of the `muted` or `unmuted` settings __Settings:__ * `format` — (default: `♪: {volume}`) +* `muted` — (default: `M`) +* `unmuted` — (default: ``) diff --git a/README.tpl.md b/README.tpl.md index 404f1a2..7f0ea63 100644 --- a/README.tpl.md +++ b/README.tpl.md @@ -24,6 +24,16 @@ Python 2.x. ### Release Notes +#### 3.27 + +* Add weather module +* Add text module +* PulseAudio module: Add muted/unmuted options + +#### 3.26 + +* Add mem module + #### 3.24 **This release introduced changes that may require manual changes to your diff --git a/i3pystatus/battery.py b/i3pystatus/battery.py index 8acf257..52669a4 100644 --- a/i3pystatus/battery.py +++ b/i3pystatus/battery.py @@ -95,7 +95,7 @@ class BatteryChecker(IntervalModule): This class uses the /sys/class/power_supply/…/uevent interface to check for the battery status - Available formatters for format and alert_format_\*: + Available formatters: * `{remaining}` — remaining time for charging or discharging, uses TimeWrapper formatting, default format is `%E%h:%M` * `{percentage}` — battery percentage relative to the last full value diff --git a/setup.py b/setup.py index ceed0d2..591efa0 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name="i3pystatus", - version="3.26", + version="3.27", description="Like i3status, this generates status line for i3bar / i3wm", url="http://github.com/enkore/i3pystatus", license="MIT",