flip to burt toast notifications on windows
This commit is contained in:
parent
abeb79fd35
commit
356c82b59c
17
org/init.el
17
org/init.el
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue