From: Maximilian Friedersdorff Date: Mon, 8 Jun 2020 15:14:46 +0000 (+0100) Subject: Display teatimer in conky X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=026d10ae5b5832180481b3c71f66f4e80d52413e;p=max%2Fsaltfiles.git Display teatimer in conky --- diff --git a/states/conky/files/conkyrc b/states/conky/files/conkyrc index 86d818b..1d20e7a 100644 --- a/states/conky/files/conkyrc +++ b/states/conky/files/conkyrc @@ -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"},