summaryrefslogtreecommitdiffhomepage
path: root/lib/media
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-12-06 18:04:12 +0000
committerjao <jao@gnu.org>2021-12-06 18:04:12 +0000
commit03b6ed58efa182662ecab9a402ae104cb83cfece (patch)
treea4d272a3754a4b437e12280f8a3f1d01e8efacb6 /lib/media
parent5bca48c6211e62e87042c22076fa1ad2de35a7f3 (diff)
downloadelibs-03b6ed58efa182662ecab9a402ae104cb83cfece.tar.gz
elibs-03b6ed58efa182662ecab9a402ae104cb83cfece.tar.bz2
mpris (optionally) to the left
Diffstat (limited to 'lib/media')
-rw-r--r--lib/media/jao-mpris.el4
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