diff options
author | jao <jao@gnu.org> | 2021-12-06 18:04:12 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-06 18:04:12 +0000 |
commit | 03b6ed58efa182662ecab9a402ae104cb83cfece (patch) | |
tree | a4d272a3754a4b437e12280f8a3f1d01e8efacb6 /lib/media | |
parent | 5bca48c6211e62e87042c22076fa1ad2de35a7f3 (diff) | |
download | elibs-03b6ed58efa182662ecab9a402ae104cb83cfece.tar.gz elibs-03b6ed58efa182662ecab9a402ae104cb83cfece.tar.bz2 |
mpris (optionally) to the left
Diffstat (limited to 'lib/media')
-rw-r--r-- | lib/media/jao-mpris.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/media/jao-mpris.el b/lib/media/jao-mpris.el index 06f704f..8f5d0de 100644 --- a/lib/media/jao-mpris.el +++ b/lib/media/jao-mpris.el @@ -115,7 +115,9 @@ (jao-mpris--format))))) (defun jao-mpris-minibuffer-order (order) - (jao-minibuffer-add-variable 'jao-mpris-track-string order)) + (if (< order 0) + (jao-minibuffer-add-msg-variable 'jao-mpris-track-string (- order)) + (jao-minibuffer-add-variable 'jao-mpris-track-string order))) (defun jao-mpris--handler (_iname properties &rest _args) (when properties |