1
0
Fork 0

Update settings for oni-alert

This commit is contained in:
Tom Willemse 2020-01-21 23:14:41 -08:00
parent cd603d16fe
commit 00228c6a1a

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2019.0904.210205 ;; Version: 2020.0121.231217
;; Package-Requires: (alert) ;; Package-Requires: (alert)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -29,11 +29,14 @@
(require 'alert) (require 'alert)
(if (eql system-type 'windows-nt) (if (eql system-type 'windows-nt)
(progn (let ((emacs-icon (expand-file-name (concat "../share/emacs/" emacs-version "/etc/images/icons/hicolor/48x48/apps/emacs.png") invocation-directory)))
(setq alert-default-icon "c:/Users/WillemsenT/Emacs-25.1-2/share/emacs/25.1/etc/images/icons/hicolor/48x48/apps/emacs.png") (setq alert-default-icon emacs-icon)
(setq alert-default-style 'toaster) (setq alert-default-style 'toaster)
(setq alert-toaster-command "U:/projects/toaster/toast/bin/Release/toast.exe") (setq alert-toaster-command
(setq alert-toaster-default-icon "c:/Users/WillemsenT/Emacs-25.1-2/share/emacs/25.1/etc/images/icons/hicolor/48x48/apps/emacs.png")) (car (cl-remove-if (lambda (loc) (not (file-exists-p loc)))
' ("~/source/repos/toaster/toast/bin/Release/toast.exe"
"U:/projects/toaster/toast/bin/Release/toast.exe"))))
(setq alert-toaster-default-icon emacs-icon))
(setq alert-default-style 'libnotify)) (setq alert-default-style 'libnotify))
;;;###autoload(with-eval-after-load 'alert (require 'oni-alert)) ;;;###autoload(with-eval-after-load 'alert (require 'oni-alert))