diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-03 01:44:16 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-03 01:44:16 +0200 |
commit | 7e197e3b77867401a4fcbc243576f8319ed90d4f (patch) | |
tree | be83ce589b1f80d3c1b2b56a6120284595a53e92 /i3 | |
parent | 8746701254cc67a975b8c2a4f17bdf8bc3be7da4 (diff) | |
download | dotfiles-7e197e3b77867401a4fcbc243576f8319ed90d4f.tar.xz |
i3/bar: add backlight
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'i3')
-rw-r--r-- | i3/bar.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,7 @@ from i3pystatus import Status hostname = socket.gethostname() status = Status(standalone=True) + status.register("clock", format="%y-%m-%d %H:%M:%S%z",) @@ -46,6 +47,7 @@ else: }, battery_ident="BAT0",) + status.register("temp", format="{temp:.0f}°C",) @@ -54,6 +56,11 @@ status.register("pulseaudio", format="♪:{volume}%",) +status.register("backlight", + backlight="intel_backlight", + format="🔆: {percentage}% ({brightness}/{max_brightness})") + + if hostname == "zorg.kyriasis.com": status.register("network", interface="wlp4s0", |