Cannot use ActivityWatch, error coming up

Sorry, I might have just installed something wrong I am quite new to using Linux and just wanted to install this since I have had it on windows aswell. For context, I am installing Activitywatch via the zip file and I am running EndevourOS, I tried installing it via the AUR but for some reason it doesn’t track the time at all (It says I only was at my computer a total of 5 minutes over like 3 hours.) so I tried using the zip but now everytime i try to launch Activitywatch these errors come up:

2025-12-06 17:46:23 [WARNING]: Code made an unclear branch (aw_watcher_window.xlib:121)
2025-12-06 17:46:23 [WARNING]: I don’t think this case will ever happen, but not sure so leaving this message here
just in case. (aw_watcher_window.xlib:82)
2025-12-06 17:46:23 [ERROR]: Exception thrown while trying to get active window (aw_watcher_window.main:133)
Traceback (most recent call last):
File “aw_watcher_window/main.py”, line 115, in heartbeat_loop
File “aw_watcher_window/lib.py”, line 64, in get_current_window
File “aw_watcher_window/lib.py”, line 17, in get_current_window_linux
File “aw_watcher_window/xlib.py”, line 85, in get_window_name
AttributeError: ‘NoneType’ object has no attribute ‘decode’

I think that the current Activity Watch program for Linux works best for X11 instead of Wayland. Maybe could you check to see what you are using? You can find out by running the following command in the terminal:

echo $XDG_SESSION_TYPE

I think that Activity Watch works with Wayland, but it just takes a little more setting up.