aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/config/i3pystatus/conf.py36
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},)