Update emacs.org

This commit is contained in:
Sako 2023-11-29 15:25:55 +04:00 committed by GitHub
parent 9cf27febb7
commit 36f5a3a183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -494,6 +494,23 @@ Should make startup faster, taken from doom-emacs
:straight t
:config (counsel-projectile-mode))
#+end_src
** Notifcations
#+begin_src emacs-lisp
(use-package alert
:straight t
:config
;; Add the windows desktop notifications if on windows
(when (eq system-type 'windows-nt)
(alert-define-style
'windows-desktop-notification-style
:title "Windows Desktop Notification style"
:notifier
(lambda (info)
(let ((notif-id (w32-notification-notify :title (plist-get info :title) :body (plist-get info :message))))
;; Close it after 3 seconds (no new notification can be sent if left unclosed)
(run-with-timer 3 nil `(lambda() (w32-notification-close ,notif-id))))))
(setq alert-default-style 'windows-desktop-notification-style)))
#+end_src
** Org-Mode
#+begin_src emacs-lisp
(use-package org
@ -671,6 +688,14 @@ We have to compete with notion somehow right?
:config
(org-roam-setup)))
#+end_src
** Org-wild-notifier
#+begin_src emacs-lisp
(use-package org-wild-notifier
:straight t
:after org
:config
)
#+end_src
** Treemacs
#+begin_src emacs-lisp
(use-package treemacs
@ -1101,14 +1126,6 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
:straight t
)
(use-package elfeed-goodies
:straight t
:after elfeed
:ensure t
:init
(elfeed-goodies/setup)
)
(use-package elfeed-protocol
:straight t
:after elfeed