Archived
1
0
Fork 0

flip to burt toast notifications on windows

This commit is contained in:
KemoNine 2023-04-21 10:32:04 -04:00
parent abeb79fd35
commit 356c82b59c

View file

@ -72,7 +72,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; additional packages
(add-to-list 'package-selected-packages
'(ox-hugo org-super-agenda org-alert alert-toast alert)
'(ox-hugo org-super-agenda org-alert burnt-toast alert)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -83,15 +83,14 @@
; org-alert - windows only
(when (eq system-type 'windows-nt)
(use-package org-alert)
(use-package alert-toast :after alert)
(alert-define-style 'toast-kmn :title "Windows 10 toast notification"
:severity (assq 'normal alert-toast-priorities)
:persistent t
:notifier #'alert-toast-notify)
(setq alert-default-style 'toast-kmn)
(use-package burnt-toast
:config
(require 'burnt-toast-alert)
(setq alert-default-style 'burnt-toast)
)
(setq org-alert-interval 300
org-alert-notify-cutoff 15
org-alert-notify-after-event-cutoff 86400)
org-alert-notify-cutoff 0
org-alert-notify-after-event-cutoff 0)
(org-alert-enable)
)