From 53995478791d757f28101d69846c3f64afca8bef Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 5 Oct 2016 11:16:10 +0200 Subject: Update various things I don't care about MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- i3/bar.py | 53 +++++++++++++++++++++++++---------------------------- 1 file changed, 25 insertions(+), 28 deletions(-) (limited to 'i3') diff --git a/i3/bar.py b/i3/bar.py index 064eafc..9acb003 100644 --- a/i3/bar.py +++ b/i3/bar.py @@ -1,55 +1,52 @@ # -*- coding: utf-8 -*- -import subprocess - from i3pystatus import Status status = Status(standalone=True) status.register("clock", - format="%y-%m-%d %H:%M:%S%z",) + format="%y-%m-%d %H:%M:%S%z",) status.register("battery", - format="⚡:{percentage:.2f}% {remaining:%E%hh:%Mm}{status}", - alert=True, - alert_percentage=5, - status={ - "DIS": "↓", - "CHR": "↑", - "FULL": "=", - }, - battery_ident="BAT0",) + format="⚡:{percentage:.2f}% {remaining:%E%hh:%Mm}{status}", + alert=True, + alert_percentage=5, + status={ + "DIS": "↓", + "CHR": "↑", + "FULL": "=", + }, + battery_ident="BAT0",) status.register("temp", - format="{temp:.0f}°C",) + format="{temp:.0f}°C",) status.register("pulseaudio", - format="♪:{volume}%",) + format="♪:{volume}%",) -#status.register("mpd", -# format="{status} {artist} > {title}", -# status={ -# "pause": "✧", -# "play": "▶", -# "stop": "◾", -# },) +# status.register("mpd", +# format="{status} {artist} > {title}", +# status={ +# "pause": "✧", +# "play": "▶", +# "stop": "◾", +# },) status.register("network", - interface="wlp4s0", - format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",) + interface="wlp4s0", + format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",) # Shows disk usage of / # Format: # 42/128G [86G] status.register("disk", - path="/media", - format="{avail}G",) + path="/boot", + format="{avail}G",) status.register("disk", - path="/", - format="{avail}G",) - + path="/", + format="{avail}G",) status.run() -- cgit v1.2.3-54-g00ecf