summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-02-20 18:19:05 +0100
committerfpi2022-03-17 14:39:47 +0100
commitfcb669cc7bc705bff391fa02ffd6898170b2b26a (patch)
tree8078e6b858a3d4e15ae5564c63b10e4721258aeb
parentAdd auto-insert package for file header templates (diff)
Redtick make updated intervals work & change recipe
-rw-r--r--emacs-init.org23
1 files 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