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)