def receiver(signal):
    """
    A decorator for connecting receivers to events.

    Example:
        @receiver(on_move)
        def signal_receiver(source_path, destination_path):
            ...
    """
    def _decorator(func):
        signal.connect(func)
        return func
    return _decorator