From 7f144e1950e8a81780554a70d08441a6c7b7d2a6 Mon Sep 17 00:00:00 2001 From: bard Date: Sat, 23 Mar 2024 21:59:51 -0400 Subject: reformat packages and move to module files --- bard-emacs-modules/bard-emacs-time.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bard-emacs-modules/bard-emacs-time.el') 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) -- cgit v1.2.3