[themes] Add custom separators

Add the possibility to configure custom separators in the theme file.
These will only be used if the default i3bar separators have been
disabled. Background color will always be taken from the previous
element (to work nicely with my long-term plan, a powerline-like status
line).
This commit is contained in:
Tobias Witek 2016-10-31 08:14:12 +01:00
parent 7b48b08365
commit 656c499c95
2 changed files with 17 additions and 2 deletions

View file

@ -31,6 +31,9 @@ class Theme:
def background(self, obj):
return self._gettheme(obj, "bg")
def separator(self, obj):
return self._gettheme(obj, "separator")
def default_separators(self, obj):
return self._gettheme(obj, "default_separators")