summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-notify.el4
-rw-r--r--lib/media/jao-random-album.el2
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 ()