summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-03-31 00:32:41 +0000
committerjao <jao@gnu.org>2024-03-31 00:32:41 +0000
commit1e5f59d9abebf33a6e3b94fb3df628600268373f (patch)
tree80b6e71bed865497a3e528df4f171629d3afb802 /init.el
parent7e08beab24d792f254956c682542e23fd4b54858 (diff)
downloadelibs-1e5f59d9abebf33a6e3b94fb3df628600268373f.tar.gz
elibs-1e5f59d9abebf33a6e3b94fb3df628600268373f.tar.bz2
nits
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index cea0d2a..7801d5e 100644
--- a/init.el
+++ b/init.el
@@ -2972,7 +2972,9 @@
(lambda ()
(message "%s %s"
(if (jao-mpc-mopidy-p) "mopidy" "mpd")
- (jao-mpc--current-timestr t))
+ (if (jao-mpc-playing-p)
+ (jao-mpc--current-timestr t)
+ (jao-mpc--current-str)))
(format "Master %s%%" (jao-mixer-get-level nil t)))
("d" "down" jao-mixer-master-down :transient t)
("u" "up" jao-mixer-master-up :transient t)