build-status icon indicating copy to clipboard operation
build-status copied to clipboard

How to connect this to doom-modeline

Open johnhamelink opened this issue 4 years ago • 1 comments

Hi there,

Apologies if this is a silly question, but does this package work with doom-modeline? How would I configure doom-modeline to add the build status?

Thanks JH

johnhamelink avatar Jul 28 '20 15:07 johnhamelink

Hi, good question! Seems like doom-emacs is always trending on GitHub.

I've only seen it –never used it– but, from doom-modeline's docs, it sounds it like it should work out the box:

Can I add my mode-line segments myself? How to do that? How can I define my own mode-line? There are two methods. If the information is simple, just add to mode-line-misc-info or global-mode-string.

That's done here.

Questions:

  1. Does it work without doom-modeline? 😄
  2. The modeline string being used has to be marked safe. Maybe there's an autoloading issue ? Does this return t: (get 'build-status-mode-line-string 'risky-local-variable)?
  3. If it does work outside doom-modeline, what are the values of global-mode-string and mode-line-misc-info when using it?

sshaw avatar Aug 01 '20 21:08 sshaw