diff options
author | jao <jao@gnu.org> | 2024-11-07 18:02:38 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-11-07 18:02:38 +0000 |
commit | 8ddc2d688cd37693320e46aa3d35d72f06e5bab3 (patch) | |
tree | 2bd00b628e8d694d48f4de35df3297a6d58c010a /init.el | |
parent | ae54b20761539fdbf16689cfa6bb8b3e5b13c251 (diff) | |
download | elibs-8ddc2d688cd37693320e46aa3d35d72f06e5bab3.tar.gz elibs-8ddc2d688cd37693320e46aa3d35d72f06e5bab3.tar.bz2 |
random-album: orthogonal notifications
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -2967,9 +2967,13 @@ (interactive) (jao-mpc-show-playlist jao-mopidy-port)) -(use-package jao-random-album :demand t) - -(jao-def-exec-in-term "aptitude" "aptitude" (jao-afio-goto-scratch)) +(use-package jao-random-album + :demand t + :config + (defun jao--notify-album (album) + (jao-notify album "Next album" jao-notify-audio-icon) + (jao-minibuffer-refresh)) + (setq jao-random-album-notify #'jao--notify-album)) (defun jao-toggle-pasystray-applet () (interactive) @@ -3257,6 +3261,7 @@ (outline-show-entry)) ((derived-mode-p 'org-mode) (org-reveal)))) +(jao-def-exec-in-term "aptitude" "aptitude" (jao-afio-goto-scratch)) (jao-def-exec-in-term "htop" "htop" (jao-afio-goto-scratch)) (transient-define-prefix jao-transient-utils () |