diff --git a/bumblebee/theme.py b/bumblebee/theme.py index e57d58d..946da59 100644 --- a/bumblebee/theme.py +++ b/bumblebee/theme.py @@ -223,6 +223,9 @@ class Theme(object): if not self._widget: self._widget = widget + if self._widget.get("theme.exclude", "") == name: + return None + if self._widget != widget: self._prevbg = self.bg(self._widget) self._widget = widget