From 67792863829f331e016b630507c13a3e4b0677eb Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 4 Sep 2019 20:59:29 +0200 Subject: Add fenec profile --- dotfiles/config/i3pystatus/conf.py | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'dotfiles/config') diff --git a/dotfiles/config/i3pystatus/conf.py b/dotfiles/config/i3pystatus/conf.py index 1a09983..9a484b4 100644 --- a/dotfiles/config/i3pystatus/conf.py +++ b/dotfiles/config/i3pystatus/conf.py @@ -94,17 +94,22 @@ 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": "=", -# },) - +{%@@ if profile == "fenec" @@%} +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},) +{%@@ endif @@%} # Displays whether a DHCP client is running #status.register("runwatch", # name="DHCP", @@ -226,17 +231,6 @@ status.register("text", # text="|", # hints = {"separator": False, "separator_block_width": 0},) -status.register("shell", - command="python ~/.config/i3pystatus/headset.py", - interval=1, - hints = {"separator": False, "separator_block_width": 0},) - -status.register("text", - text="|", - hints = {"separator": False, "separator_block_width": 0},) - - - status.register("redshift", hints = {"separator": False, "separator_block_width": 0},) -- cgit v1.2.1