summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-11-02 09:45:44 +0200
committerMarc Coquand <marc@mccd.space>2024-11-02 09:45:44 +0200
commit4a752006731d59b8fce5e0525305b842c35c6acd (patch)
treeaba53eead93bb3ea82042d22d02fa6d262eb7ce3
parent9204d33043d60e37ee8ff22d489fe598c25d7da2 (diff)
downloadguix-4a752006731d59b8fce5e0525305b842c35c6acd.tar.gz
guix-4a752006731d59b8fce5e0525305b842c35c6acd.tar.bz2
guix-4a752006731d59b8fce5e0525305b842c35c6acd.zip
.
-rw-r--r--home/dots/.emacs36
1 files changed, 17 insertions, 19 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index 8f15fc4..f95e716 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -33,7 +33,6 @@
mastodon
nix-mode
nov
- org-alert
org-remark
pass
pinentry
@@ -620,16 +619,6 @@
(add-hook 'before-save-hook #'nix-format-buffer nil t)))
(nix-mode . nix-prettify-mode)))
-(use-package hyperbole
- :ensure t
- :defer t
- :bind
- (:map hyperbole-mode-map
- ("M-o" . nil))
- :config
- (setq hyperbole-file-list '("~/personal-db/notes/inbox.org"))
- (hyperbole-mode 1))
-
(use-package eglot
:config
;; Ensure `nil` is in your PATH.
@@ -761,13 +750,23 @@
(add-hook 'after-save-hook 'sync-org nil t)))
(org-mode . variable-pitch-mode)))
-(use-package org-alert
+(use-package appt
+ ;; Taken from https://igormelo.org/you_dont_need_org_alert.html
+ ;; Enables notifications for org
:init
- (setq alert-default-style 'libnotify
- org-alert-interval 300
- org-alert-notify-cutoff 10
- org-alert-notify-after-event-cutoff 10)
- :ensure t)
+ (setq appt-message-warning-time 15
+ appt-display-interval 10
+ appt-disp-window-function (lambda (remaining new-time msg)
+ (notifications-notify
+ :title (message "In %s minutes" remaining)
+ :body msg
+ :urgency 'critical)))
+ (advice-add 'appt-check
+ :before
+ (lambda (&rest args)
+ (org-agenda-to-appt t)))
+ (appt-activate t))
+
(use-package rec-mode
:ensure t)
@@ -961,7 +960,6 @@
'(eglot-highlight-symbol-face ((t (:weight bold))))
'(eglot-mode-line ((t (:weight regular))))
'(erc-timestamp-face ((t (:foreground "blue" :weight bold))))
- '(hbut-flash ((t (:background "blue" :foreground "white"))))
'(eshell-prompt ((t (:weight bold))))
'(eww-valid-certificate ((t (:foreground "black" :weight bold))))
'(fixed-pitch ((t (:family "Iosevka SS13 Extended"))))
@@ -997,7 +995,7 @@
'(org-agenda-structure ((t ())))
'(org-agenda-date-today ((t (:weight bold))))
'(org-agenda-date-weekend ((t ())))
- '(help-key-binding ((t (:weight semibold))))
+ '(help-key-binding ((t (:weight semibold :background "#EEEEE8" :box (:line-width (5 . -1) :color "#EEEEE8")))))
'(org-agenda-done ((t (:strike-through "on" :inherit org-time-grid :extend nil))))
'(org-done ((t (:strike-through "on" :weight bold :inherit org-agenda-dimmed-todo-face :extend nil))))
'(org-todo ((t (:weight bold))))