From b9a75ce7f7fbebce4a953627ad1b25163b90b6c1 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 23 Apr 2017 16:39:32 +0200 Subject: Add some doc & add battery info to i3bar --- i3pystatus/.config/i3pystatus/conf.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'i3pystatus/.config') diff --git a/i3pystatus/.config/i3pystatus/conf.py b/i3pystatus/.config/i3pystatus/conf.py index 7a97c98..4359251 100644 --- a/i3pystatus/.config/i3pystatus/conf.py +++ b/i3pystatus/.config/i3pystatus/conf.py @@ -48,16 +48,20 @@ status.register("text", # goes below 5 percent while discharging. The block will also color RED. # If you don't have a desktop notification demon yet, take a look at dunst: # http://www.knopwob.org/dunst/ -#status.register("battery", -# format="{status} {percentage:.2f}% [{percentage_design:.2f}%] {remaining:%E%hh:%Mm}", -# alert=True, -# alert_percentage=5, -# status={ -# "DIS": "↓", -# "CHR": "↑", -# "FULL": "=", -# },) +status.register("battery", + format="{status} {percentage:.2f}% [{percentage_design:.2f}%] {remaining:%E%hh:%Mm}", + alert=True, + alert_percentage=5, + status={ + "DIS": "↓", + "CHR": "↑", + "FULL": "=", + }, + hints = {"markup": "pango", "separator": False, "separator_block_width": 0},) +status.register("text", + text=" ░▒▓█▓▒░ ", + hints = {"separator": False, "separator_block_width": 0},) # Displays whether a DHCP client is running #status.register("runwatch", -- cgit v1.2.1