aboutsummaryrefslogtreecommitdiff
path: root/i3pystatus
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-04-23 16:39:32 +0200
committerneodarz <neodarz@neodarz.net>2017-04-23 16:39:32 +0200
commitb9a75ce7f7fbebce4a953627ad1b25163b90b6c1 (patch)
tree579d2bfef8f74fd0d0001c0cfb5454292217a9b6 /i3pystatus
parent9e1e6ccedf25a8e76d346a8ff3014dfe98c5924a (diff)
downloaddotfiles_ascii-b9a75ce7f7fbebce4a953627ad1b25163b90b6c1.tar.xz
dotfiles_ascii-b9a75ce7f7fbebce4a953627ad1b25163b90b6c1.zip
Add some doc & add battery info to i3bar
Diffstat (limited to '')
-rw-r--r--i3pystatus/.config/i3pystatus/conf.py22
1 files changed, 13 insertions, 9 deletions
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",