diff --git a/core/output.py b/core/output.py index c372586..af2b535 100644 --- a/core/output.py +++ b/core/output.py @@ -48,6 +48,7 @@ class i3(object): 'color': self._theme.fg(widget), 'background': self._theme.bg(widget), 'separator': self._theme.default_separators(), + 'separator_block_width': self._theme.separator_block_width(), }) core.event.trigger('next-widget') return widgets diff --git a/core/theme.py b/core/theme.py index 36f3cc3..473f11b 100644 --- a/core/theme.py +++ b/core/theme.py @@ -39,6 +39,9 @@ class Theme(object): def default_separators(self, widget=None): return self.__get(widget, 'default-separators', True) + def separator_block_width(self, widget=None): + return self.__get(widget, 'separator-block-width', 0) + def __start(self): self.__widget_count = 0