mu4e-notification: use mu icon
Use the new mu icon for notifications.
This commit is contained in:
@ -27,6 +27,7 @@ mu4e_meta = configure_file(
|
||||
'VERSION' : meson.project_version(),
|
||||
'MU_VERSION_EXTRA' : version_extra,
|
||||
'MU_DOC_DIR' : datadir / 'doc' / 'mu',
|
||||
'MU_ICON_PATH' : muiconpath
|
||||
})
|
||||
|
||||
mu4e_pkg_desc = configure_file(
|
||||
|
||||
@ -1,8 +1,27 @@
|
||||
;;; mu4e-config.el --- configuration values -*- lexical-binding: t -*-
|
||||
|
||||
;;; Commentary:
|
||||
;; Copyright (C) 2023-2026 Dirk-Jan C. Binnema
|
||||
|
||||
;; Auto-generated configuration values
|
||||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
|
||||
;; SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
;; mu4e is free software: you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
|
||||
;; mu4e is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with mu4e. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
;;; Commentary:
|
||||
;;; Generic support for showing new-mail notifications.
|
||||
|
||||
;;; Code:
|
||||
|
||||
@ -13,5 +32,8 @@ mu4e's version must agree with this.")
|
||||
(defconst mu4e-doc-dir "@MU_DOC_DIR@"
|
||||
"Directory for mu4e documentation.")
|
||||
|
||||
(defconst mu4e-icon-path "@MU_ICON_PATH@"
|
||||
"Path to the mu/mu4e icon.")
|
||||
|
||||
(provide 'mu4e-config)
|
||||
;;; mu4e-config.el.in ends here
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
;;; mu4e-notification.el --- Mail notifications -*- lexical-binding: t-*-
|
||||
|
||||
;; Copyright (C) 2023-2025 Dirk-Jan C. Binnema
|
||||
;; Copyright (C) 2023-2026 Dirk-Jan C. Binnema
|
||||
|
||||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
@ -110,10 +110,7 @@ support."
|
||||
:body body
|
||||
:app-name "mu4e@emacs"
|
||||
:replaces-id mu4e--notification-id
|
||||
;; a custom mu4e icon would be nice...
|
||||
;; :app-icon (ignore-errors
|
||||
;; (image-search-load-path
|
||||
;; "gnus/gnus.png"))
|
||||
:app-icon mu4e-icon-path
|
||||
:actions '("Show" "Favorite bookmark"
|
||||
"default" "Favorite bookmark")
|
||||
:on-action (lambda (_1 _2) (mu4e-jump-to-favorite)))))
|
||||
|
||||
Reference in New Issue
Block a user