summaryrefslogtreecommitdiffhomepage
path: root/lib/media
diff options
context:
space:
mode:
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