diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-04 20:59:29 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-04 20:59:29 +0200 |
commit | 67792863829f331e016b630507c13a3e4b0677eb (patch) | |
tree | e5cb359d78e37ab717f51825d41a75c1d54e8d48 /dotfiles/config/i3pystatus/conf.py | |
parent | 892b5a1db93271f3a53b4f6487f4ad20e5005d67 (diff) | |
download | dotfiles_dotdrop-67792863829f331e016b630507c13a3e4b0677eb.tar.xz dotfiles_dotdrop-67792863829f331e016b630507c13a3e4b0677eb.zip |
Add fenec profile
Diffstat (limited to '')
-rw-r--r-- | dotfiles/config/i3pystatus/conf.py | 36 |
1 files changed, 15 insertions, 21 deletions
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},) |