def _udev_event(self, action, device):
        """
        This is a callback method that will trigger a refresh on subscribers.
        """
        # self.py3_wrapper.log(
        #     f"detected udev action '{action}' on subsystem '{device.subsystem}'"
        # )
        if not self.py3_wrapper.i3bar_running:
            return
        self.trigger_actions(action, device.subsystem)

        This is a callback method that will trigger a refresh on subscribers.
        
py3status/udev_monitor.py