From: Maximilian Friedersdorff Date: Wed, 5 Aug 2020 08:39:57 +0000 (+0100) Subject: Integrate pomodoro timer into conkyrc X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=1d21e6d38d84140e014b7b9b04361a041b77482a;p=max%2Fsaltfiles.git Integrate pomodoro timer into conkyrc --- diff --git a/states/conky/files/conkyrc b/states/conky/files/conkyrc index 2606323..8e8fcc1 100644 --- a/states/conky/files/conkyrc +++ b/states/conky/files/conkyrc @@ -32,6 +32,9 @@ conky.config = { 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": "Last Tea: ${execi 120 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"}, {% endif %}