From 1d21e6d38d84140e014b7b9b04361a041b77482a Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 5 Aug 2020 09:39:57 +0100 Subject: [PATCH] Integrate pomodoro timer into conkyrc --- states/conky/files/conkyrc | 3 +++ 1 file changed, 3 insertions(+) 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 %} -- 2.47.1