From 53b912cf12ddfb9769958690f14c1f80171a0e13 Mon Sep 17 00:00:00 2001 From: "Alain M. Lafon" Date: Tue, 6 Dec 2022 20:46:28 +0100 Subject: [PATCH] chore: Show total number of added or removed TODO statements This is done throughout all my Org mode agenda files. So it's a good proxy for productivity. --- polybar/.config/polybar/config.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index 1a3e5db..141aca2 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -49,7 +49,7 @@ font-1 = NotoEmoji:style=Book:scale=12 font-2 = "Noto Sans:size=7;1" modules-left = xworkspaces -modules-right = airquality filesystem pulseaudio memory cpu battery backlight temperature date +modules-right = productivity airquality filesystem pulseaudio memory cpu battery backlight temperature date cursor-click = pointer cursor-scroll = ns-resize @@ -62,6 +62,10 @@ enable-ipc = true ; override-redirect = true +[module/productivity] +type = custom/script +exec = echo 💪 `emacsclient -a "" --eval "(productivity-of-the-day)"` + [module/airquality] type = custom/script exec = echo "🍃 `if [ -f ~/bin/bb ]; then ~/bin/co2_stats.clj | awk '{ print $3}'; else echo '-'; fi`"