feat(emacs): pomm config

This commit is contained in:
Pavel Korytov 2022-08-19 10:04:54 +05:00
parent 749c354ef3
commit 46904ca73b
2 changed files with 8 additions and 10 deletions

View file

@ -5134,15 +5134,14 @@ by the `my/elfeed-youtube-subtitles' function."
(my-leader-def "ag" 'guix))
(use-package pomm
:straight (:host github :repo "SqrtMinusOne/pomm.el" :files (:defaults "resources"))
:straight t
;; :straight (:local-repo "~/Code/Emacs/pomm" :files (:defaults "resources"))
:commands (pomm)
:commands (pomm pomm-third-time)
:init
(my-leader-def "ap" #'pomm)
(my-leader-def "ap" #'pomm-third-time)
:config
(setq alert-default-style 'libnotify)
(add-hook 'pomm-on-tick-hook 'pomm-update-mode-line-string)
(add-hook 'pomm-on-status-changed-hook 'pomm-update-mode-line-string))
(pomm-mode-line-mode))
(use-package hledger-mode
:straight t

View file

@ -7234,15 +7234,14 @@ My package for doing Pomodoro timer.
#+begin_src emacs-lisp
(use-package pomm
:straight (:host github :repo "SqrtMinusOne/pomm.el" :files (:defaults "resources"))
:straight t
;; :straight (:local-repo "~/Code/Emacs/pomm" :files (:defaults "resources"))
:commands (pomm)
:commands (pomm pomm-third-time)
:init
(my-leader-def "ap" #'pomm)
(my-leader-def "ap" #'pomm-third-time)
:config
(setq alert-default-style 'libnotify)
(add-hook 'pomm-on-tick-hook 'pomm-update-mode-line-string)
(add-hook 'pomm-on-status-changed-hook 'pomm-update-mode-line-string))
(pomm-mode-line-mode))
#+end_src
*** hledger
[[hledger.org/][hledger]] is a plain-text double-entry accounting software. I use it for managing my personal finances, and thus far it's great.