diff options
-rw-r--r-- | config.yaml | 3 | ||||
-rw-r--r-- | dotfiles/config/i3pystatus/conf.py | 36 |
2 files changed, 18 insertions, 21 deletions
diff --git a/config.yaml b/config.yaml index 7c238de..8f9ae4c 100644 --- a/config.yaml +++ b/config.yaml @@ -10,3 +10,6 @@ profiles: unicorn: dotfiles: - d_i3pystatus + fenec: + dotfiles: + - d_i3pystatus 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},) |