]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/conky/files/conkyrc
Display teatimer in conky
[max/saltfiles.git] / states / conky / files / conkyrc
index 86d818b3b99d2469b4587f9983a4bb3c88596247..1d20e7aed9a1857cdffc69c0fcecc0b3c6cb79a4 100644 (file)
@@ -32,6 +32,9 @@ conky.config = {
 
 conky.text = [[
 [
+{% if grains['host'] == 'barium' %}
+  {"full_text": "Last Tea: ${execi 120 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"},
+{% endif %}
   {"full_text": "Home ${fs_free /home} Free", "color": "\#ffffff"},
   {"full_text": "Root ${fs_free /root} Free", "color": "\#ffffff"},
   {"full_text": "Disk r:${diskio_read} w:${diskio_write}", "color": "\#ffffff"},