diff options
author | jao <jao@gnu.org> | 2021-07-29 21:37:51 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-07-29 21:37:51 +0100 |
commit | de3ff7bde03188d1b1d0029d89f8962e77c0702f (patch) | |
tree | 94bb1241720d530ee54731b39e554d7794c8edb9 /lib | |
parent | 1678be4f58d23b5c7129c15558782c92dd0fdff0 (diff) | |
download | elibs-de3ff7bde03188d1b1d0029d89f8962e77c0702f.tar.gz elibs-de3ff7bde03188d1b1d0029d89f8962e77c0702f.tar.bz2 |
jao-notify: wee clean-up (icon)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-notify.el | 4 | ||||
-rw-r--r-- | lib/media/jao-random-album.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/eos/jao-notify.el b/lib/eos/jao-notify.el index 5e7e627..a3ea474 100644 --- a/lib/eos/jao-notify.el +++ b/lib/eos/jao-notify.el @@ -14,9 +14,13 @@ (defvar jao-notify-use-messages-p nil) (defvar jao-notify-timeout 5000) +(defvar jao-notify-audio-icon (jao-data-file "music-player-icon.png")) (declare-function notifications-notify "notifications") +;; "/usr/share/icons/Papirus/64x64/mimetypes/audio-x-generic.svg" +;; "/usr/share/icons/Tango/scalable/mimetypes/audio-x-generic.svg" + (defun jao-notify (msg &optional title icon) (let ((title (when (and title (not (string-blank-p title))) title))) (if jao-notify-use-messages-p diff --git a/lib/media/jao-random-album.el b/lib/media/jao-random-album.el index 791b241..2800115 100644 --- a/lib/media/jao-random-album.el +++ b/lib/media/jao-random-album.el @@ -24,7 +24,7 @@ (defvar jao-random-lines nil) (defvar jao-random-lines-file (expand-file-name "~/.emacs.d/random-lines")) (defvar jao-random-album-notify-p t) -(defvar jao-random-album-notify-icon nil) +(defvar jao-random-album-notify-icon jao-notify-audio-icon) (defvar jao-random-album-skip-lines 2) (defun jao-random-lines () |