From: Alex Kost <alezost@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: How to make EMMS display only play/pause/stop info in the modeline?
Date: Sat, 17 Jun 2017 20:39:27 +0300 [thread overview]
Message-ID: <87a856cy40.fsf@gmail.com> (raw)
In-Reply-To: <87bmpokst8.fsf@jane> (Marcin Borkowski's message of "Fri, 16 Jun 2017 14:42:11 +0200")
Marcin Borkowski (2017-06-16 14:42 +0200) wrote:
> Hi all,
>
> so I finally got to the place wen I want to declutter my modeline.
> A big part of it is EMMS' artist/song info. I really do not need that
> (especially that I control EMMS from a hydra which displays that
> anyway), but some short indication whether EMMS is
> playing/paused/stopped would be nice. Is that possible without surgery
> on EMMS' source code?
I don't know about EMMS itself, but it's possible with 'emms-state'
package (available from MELPA¹). If you do this:
(setq emms-state-mode-line-string '(" " emms-state))
then the only character will be displayed in the mode-line: "⏵", "⏸", or
"⏹" (these strings can be customized).
Actually, you can customize that variable anyway you want in a usual
mode-line-format manner.
¹ https://melpa.org/#/emms-state
--
Alex
prev parent reply other threads:[~2017-06-17 17:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 12:42 How to make EMMS display only play/pause/stop info in the modeline? Marcin Borkowski
2017-06-16 13:22 ` Emanuel Berg
2017-06-17 17:39 ` Alex Kost [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a856cy40.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@mbork.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.