First of all, if you add a list to the modeline which has a first
element that's a normal symbol, the symbol is evaluated and the rest
only if it turns out to be truthy. That allows one to use
`eyebrowse-mode` to display the indicator only if the mode is active, so
no more removing is necessary to stop displaying it.
The other change makes sure that nothing, be it enabling the mode a
second time non-interactively or loading a theme (see #29 for further
details) can result in a duplicated indicator.
If desktop.el is used, eyebrowse-specific data is saved and restored
since these are kept as frame parameters (although the window configs
are impossible to serialize properly and desktop.el won't work properly
at all), so unconditionally inserting a first config is not fine.
Fixes#28.
The switching command used to do seemingly extraneous saving before and
after loading a different window config which was discarded recently.
This became obvious after an option to clean up the window config after
switching to it was introduced. Closes#27.
This allows you to do something else than cloning the last active window
configuration, such as displaying only the scratch buffer instead to
mimick the behaviour of the i3 window manager. Closes#23.