aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-time.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-emacs-modules/bard-emacs-time.el')
-rw-r--r--bard-emacs-modules/bard-emacs-time.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-time.el b/bard-emacs-modules/bard-emacs-time.el
index 3ee370e..b10640c 100644
--- a/bard-emacs-modules/bard-emacs-time.el
+++ b/bard-emacs-modules/bard-emacs-time.el
@@ -26,4 +26,22 @@
(define-key global-map (kbd "C-c C-w") #'world-clock)
+;; timer package
+(use-package tmr
+ :ensure t
+ :config
+ (setq tmr-sound-file "/home/bard/.local/bin/scripts/bell.mp3")
+ (setq tmr-notification-urgency 'normal)
+ (setq tmr-descriptions-list 'tmr-description-history)
+ (define-key global-map (kbd "C-c t l") 'tmr-tabulated-view)
+ (define-key global-map (kbd "C-c t t") #'tmr)
+ (define-key global-map (kbd "C-c t T") #'tmr-with-description)
+ (define-key global-map (kbd "C-c t l") #'tmr-tabulated-view)
+ (define-key global-map (kbd "C-c t c") #'tmr-clone)
+ (define-key global-map (kbd "C-c t k") #'tmr-cancel)
+ (define-key global-map (kbd "C-c t s") #'tmr-reschedule)
+ (define-key global-map (kbd "C-c t e") #'tmr-edit-description)
+ (define-key global-map (kbd "C-c t r") #'tmr-remove)
+ (define-key global-map (kbd "C-c t R") #'tmr-remove-finished))
+
(provide 'bard-emacs-time)