aboutsummaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-05 11:16:10 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit53995478791d757f28101d69846c3f64afca8bef (patch)
tree49efe83aa0b0e72f35d248945378dd9790a648bc /i3
parent751e135468cc66d341469c482f847b70a454ce63 (diff)
downloaddotfiles-53995478791d757f28101d69846c3f64afca8bef.tar.xz
Update various things I don't care about
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'i3')
-rw-r--r--i3/bar.py53
1 files changed, 25 insertions, 28 deletions
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()