]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Show teatimer log on baryte
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 4 Oct 2022 09:26:55 +0000 (10:26 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 4 Oct 2022 09:26:55 +0000 (10:26 +0100)
states/conky/files/conkyrc

index dc051ab80dde8efe652cd2ab6f6697be9b882191..4f3252c2bb442d1adf2de972c27868cc99805eac 100644 (file)
@@ -37,8 +37,8 @@ conky.text = [[
   ${if_match "${exec cat ~/.local/share/pomodoro}"!="done"}
     {"full_text": "Pomodoro: ${exec cat ~/.local/share/pomodoro}", "color": "\#ea0501"},
   ${endif}
-{% if grains['host'] == 'barium' %}
-  {"full_text": "Tea: ${execi 120 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"},
+{% if grains['host'] in ['barium', 'baryte'] %}
+  {"full_text": "Tea: ${execi 60 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"},
 {% endif %}
   {"full_text": "~ ${fs_free /home}", "color": "\#ffffff"},
   {"full_text": "/ ${fs_free /root}", "color": "\#ffffff"},