diff options
author | jao <jao@gnu.org> | 2023-09-27 00:47:01 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2023-09-27 00:47:01 +0100 |
commit | dc1877c6c139418997e3e3e0f735c57f3c866b08 (patch) | |
tree | e894ad24aa228d8c72d7871e2b5627620929beb8 | |
parent | 8bacae65850a148b1760e4a015b1d572ae1521e6 (diff) | |
download | elibs-dc1877c6c139418997e3e3e0f735c57f3c866b08.tar.gz elibs-dc1877c6c139418997e3e3e0f735c57f3c866b08.tar.bz2 |
mpris by default
-rw-r--r-- | init.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2876,9 +2876,9 @@ (jao-def-exec-in-term "spt" "spt" (jao-afio-goto-scratch)) -(defun jao-streaming-toggle-player () +(defun jao-streaming-toggle-player (&optional mpris) (interactive) - (if jao-spt-on + (if (or mpris jao-spt-on) (progn (setq jao-mpris-player "playerctld") (require 'jao-mpris) (jao-mpris-setup-aliases)) @@ -2887,7 +2887,7 @@ (message "%s activated " (if (setq jao-spt-on (not jao-spt-on)) "spt" "mpris"))) -(jao-streaming-toggle-player) +(jao-streaming-toggle-player t) ;;;; music transients (require 'jao-lyrics) |