summaryrefslogtreecommitdiff
path: root/.config/leftwm/themes/basic_lemonbar/template.liquid
diff options
context:
space:
mode:
Diffstat (limited to '.config/leftwm/themes/basic_lemonbar/template.liquid')
-rw-r--r--.config/leftwm/themes/basic_lemonbar/template.liquid18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/leftwm/themes/basic_lemonbar/template.liquid b/.config/leftwm/themes/basic_lemonbar/template.liquid
new file mode 100644
index 0000000..eb547f3
--- /dev/null
+++ b/.config/leftwm/themes/basic_lemonbar/template.liquid
@@ -0,0 +1,18 @@
+{% assign mine_open = '%{F#000000}%{B#FFFFFF}' %}
+{% assign mine_close = '%{B-}%{F-}' %}
+{% assign visible_open = '%{F#000000}%{B#999999}' %}
+{% assign visible_close = '%{B-}%{F-}' %}
+
+{% for tag in workspace.tags %}
+{% if tag.mine %}
+{{mine_open}} {{ tag.name }} {{mine_close}}
+{% elsif tag.visible %}
+{{visible_open}} {{ tag.name }} {{visible_close}}
+{% else tag.visible %}
+ {{ tag.name }}
+{% endif %}
+{% endfor %}
+%{c}
+{{ window_title }}
+%{r}
+{{ localtime }}