diff --git a/bumblebee_status/modules/core/xrandr.py b/bumblebee_status/modules/core/xrandr.py index a3fe1b7..7060cf1 100644 --- a/bumblebee_status/modules/core/xrandr.py +++ b/bumblebee_status/modules/core/xrandr.py @@ -47,7 +47,7 @@ class Module(core.module.Module): try: i3.Subscription(self._output_update, "output") - except NameError: + except Exception: pass def _output_update(self, event, data, _): @@ -121,4 +121,5 @@ class Module(core.module.Module): self._refresh(event) + # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4