summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-03-07 08:38:34 -0500
committermattkae <mattkae@protonmail.com>2023-03-07 08:38:34 -0500
commit8ed31715bf05c33918c6926c36f510d838521d6a (patch)
tree2cd62935a4ce384aea4670078405fff72a1796da
parent5a0e0d0bb30e5ace9775a3625464f9b62f946880 (diff)
Running server at startup and org-alert using libnotify
-rw-r--r--init.el6
-rw-r--r--lisp/org-custom.el3
2 files changed, 7 insertions, 2 deletions
diff --git a/init.el b/init.el
index 2210bcd..1c806f8 100644
--- a/init.el
+++ b/init.el
@@ -69,7 +69,7 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
'(package-selected-packages
- '(helm-posframe treemacs-projectile treemacs highlight-indent-guides helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
+ '(org-notify helm-posframe treemacs-projectile treemacs highlight-indent-guides helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
;;; init.el ends here
(custom-set-faces
@@ -99,3 +99,7 @@
'(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
'(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
(put 'downcase-region 'disabled nil)
+
+(require 'server)
+(unless (server-running-p)
+ (server-start))
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index d618f13..be6a0c7 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -83,7 +83,8 @@
:config
(setq org-alert-interval 300
org-alert-notify-cutoff 10
- org-alert-notify-after-event-cutoff 10))
+ org-alert-notify-after-event-cutoff 10
+ alert-default-style 'libnotify))
(provide 'org-custom)
;;; org-custom.el ends here