commit 63ffb088271e9ef6a83782d1e24d8e0ac0d23222
parent fbf2247d8605ae8a0703c731753a1d378fdab062
Author: oscarbenedito <oscar@oscarbenedito.com>
Date: Sat, 25 Apr 2020 21:11:48 +0200
i3 bar colors customized a bit
Diffstat:
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/dot_config/i3/config b/dot_config/i3/config
@@ -204,6 +204,17 @@ bar {
status_command i3blocks
position top
tray_output none
+
+ colors {
+ background #000000
+ statusline #eeeeee
+ separator #666666
+ # border backgr. text
+ focused_workspace #4c7899 #285577 #eeeeee
+ active_workspace #9da1a8 #797e89 #eeeeee
+ inactive_workspace #333333 #222222 #888888
+ urgent_workspace #6fa24c #51852c #eeeeee
+ }
}
# wallpaper
diff --git a/dot_config/i3blocks/bin/executable_battery2 b/dot_config/i3blocks/bin/executable_battery2
@@ -83,8 +83,9 @@ else:
return "#FFFFFF"
form = '<span color="{}">{}%</span>'
- fulltext += form.format(color(percentleft), percentleft)
- fulltext += timeleft
+ fulltext += str(percentleft) + timeleft
+ if color(percentleft) != "#FFFFFF":
+ fulltext = form.format(color(percentleft), fulltext)
print(fulltext)
print(fulltext)
diff --git a/dot_config/i3blocks/bin/executable_volume-pulseaudio b/dot_config/i3blocks/bin/executable_volume-pulseaudio
@@ -170,7 +170,7 @@ sed 's/.*= "\(.*\)".*/\1/')
print_format "$MUTED_FORMAT"
print_format "$MUTED_FORMAT"
fi
- echo "$COLOR"
+# echo "$COLOR"
fi
}