From 6cf4dbe0a07b646adda3ed6ca47c18e77491f5c6 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Thu, 13 Jul 2023 22:28:22 +0800 Subject: [PATCH] change drink notice message --- lisp/init-func.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/init-func.el b/lisp/init-func.el index 1b9d210..17f31e3 100644 --- a/lisp/init-func.el +++ b/lisp/init-func.el @@ -100,7 +100,9 @@ (run-with-timer 1200 1200 (lambda () (require 'alert) - (alert-notifications-notify '(:title "该喝水啦!!!" :persistent 1)))))) + (let ((msg (format-time-string "drink time: %Y-%m-%d %H:%M:%S"))) + (alert-notifications-notify `(:title ,msg :persistent 1))) + )))) (provide 'init-func)