summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-08 09:42:18 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-08 09:42:28 -0500
commit41c013390ca0b204f652f6d63ee0c12dd86846b6 (patch)
tree9338bade03678648edf29ddad035ac33838a204f /emacs
parentf9a31ce13018c0d8f8940d337277c2f38ec3c225 (diff)
pomodoro config
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/init.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 03fe2bf..cfd0a66 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -57,6 +57,8 @@
(load-theme 'modus-operandi) ;; OR (load-theme 'modus-vivendi)
:bind ("<f5>" . modus-themes-toggle))
+(setq alert-default-style 'libnotify)
+
(when window-system
(tool-bar-mode -1)
(scroll-bar-mode -1)
@@ -376,6 +378,12 @@
(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp))
(defun meow-setup ()
+ (setq meow-replace-state-name-list
+ '((normal . "N")
+ (motion . "M")
+ (keypad . "🖩")
+ (insert . "I")
+ (beacon . "📻")))
(setq meow-cheatsheet-layout meow-cheatsheet-layout-dvorak)
(meow-leader-define-key
'("1" . meow-digit-argument)
@@ -598,6 +606,17 @@
(setq org-journal-file-header #'kj/org-journal-file-header)
(add-hook 'org-journal-after-header-create-hook 'kj/org-journal-init)
+(use-package org-pomodoro
+ :ensure t
+ :commands (org-pomodoro)
+ :config
+ (setq
+ org-pomodoro-manual-break t
+ org-pomodoro-time-format "%m"
+ org-pomodoro-format "🍅%s"
+ org-pomodoro-play-sounds nil
+ alert-user-configuration (quote ((((:category . "org-pomodoro")) libnotify nil)))))
+
;; Low menu delay.
(setq which-key-idle-delay .5)