NeshHari / XMonad

XMonad Starter Kit
222 stars 19 forks source link

The logger.py notification script does not work. #13

Open ItsTerm1n4l opened 9 months ago

ItsTerm1n4l commented 9 months ago

I am trying to make a eww notification panel but nearly every one uses your script, however when I try to run it with python logger.py init i get this error

Traceback (most recent call last):
  File "/home/*****/.config/eww/scripts/logger.py", line 149, in <module>
    cache.Eavesdropper(master_callback, "/home/*****/.config/dunst").eavesdrop()
  File "/home/*****/.config/eww/scripts/cache.py", line 198, in eavesdrop
    bus.add_match_string(",".join([f"{key}={value}" for key, value in rules.items()]))
  File "/usr/lib/python3.11/site-packages/dbus/bus.py", line 386, in add_match_string
    self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3.11/site-packages/dbus/connection.py", line 634, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.MatchRuleInvalid: Invalid match rule

(I have commented out my username) What is going wrong and how do I fix it? Thank you!