From fcb669cc7bc705bff391fa02ffd6898170b2b26a Mon Sep 17 00:00:00 2001 From: fpi Date: Sun, 20 Feb 2022 18:19:05 +0100 Subject: Redtick make updated intervals work & change recipe --- emacs-init.org | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/emacs-init.org b/emacs-init.org index f0631b9..9fa2fb9 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -5799,14 +5799,33 @@ Saves to a temp file and puts the filename in the kill ring." *** Pomodoro / Redtick #+begin_src emacs-lisp (use-package redtick - :straight t + :straight (:host github :repo "fpiper/redtick" + :branch "dev") :custom ((redtick-sound-volume "20") (redtick-play-sound t) (redtick-work-interval (* 60 20)) (redtick-rest-interval (* 60 5)) (redtick--workbar-interval (/ redtick-work-interval 8.0)) - (redtick--restbar-interval (/ redtick-rest-interval 8.0))) + (redtick--restbar-interval (/ redtick-rest-interval 8.0)) + (redtick--bars + `((,redtick--workbar-interval "█" "#ffff66") + (,redtick--workbar-interval "▇" "#ffcc66") + (,redtick--workbar-interval "▆" "#cc9966") + (,redtick--workbar-interval "▅" "#ff9966") + (,redtick--workbar-interval "▄" "#cc6666") + (,redtick--workbar-interval "▃" "#ff6666") + (,redtick--workbar-interval "▂" "#ff3366") + (,redtick--workbar-interval "▁" "#ff0066") + (,redtick--restbar-interval "█" "#00cc66") + (,redtick--restbar-interval "▇" "#33cc66") + (,redtick--restbar-interval "▆" "#66cc66") + (,redtick--restbar-interval "▅" "#00ff66") + (,redtick--restbar-interval "▄" "#33ff66") + (,redtick--restbar-interval "▃" "#66ff66") + (,redtick--restbar-interval "▂" "#99ff66") + (,redtick--restbar-interval "▁" "#ccff66") + (nil "✓" "#cf6a4c")))) :config (redtick-mode 1)) #+end_src * Language settings -- cgit v1.2.3