[themes] Add non-powerline solarized-dark with awesome fonts

In order to do that, change the theme engine so that a theme can
override settings in the iconsets. Was probably a bug to begin with that
this was not possible.
This commit is contained in:
Tobias Witek 2017-09-20 08:59:23 +02:00
parent be8669270e
commit f3ee6e0c67
3 changed files with 47 additions and 3 deletions

View file

@ -38,7 +38,9 @@ class Module(bumblebee.engine.Module):
else:
self._state = "transition"
transition = " ".join(line.split(" ")[2:])
self._text = "{} {}".format(temp, transition)
self._text = temp
if transition:
self._text = "{} {}".format(temp, transition)
def state(self, widget):
return self._state