From 8d5da0a159eabc4c8c04175374ab3ceb985d8c6a Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Tue, 2 Jul 2024 23:30:04 +0800 Subject: [PATCH] update implementation of creature/drink-timer --- lisp/init-func.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/init-func.el b/lisp/init-func.el index cd87b65..415767a 100644 --- a/lisp/init-func.el +++ b/lisp/init-func.el @@ -99,9 +99,9 @@ (setq creature/drink-timer (run-with-timer 1200 1200 (lambda () - (require 'alert) + (require 'notifications) (let ((msg (format-time-string "drink time: %Y-%m-%d %H:%M:%S"))) - (alert-notifications-notify `(:title ,msg :persistent 1))) + (notifications-notify :title msg :timeout 0 :app-icon nil)) )))) (defun creature/kill-this-buffer ()