Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.52k stars 704 forks source link

Hyprland modules not loading properly, IPC unable to connect #3663

Open xiyori opened 2 weeks ago

xiyori commented 2 weeks ago

Sometimes all Hyprland modules fail to load. Happens both on startup and after hypridle. The modules are visible and respond to click and scroll actions, however, they do not update, for example, workspaces module always shows one workspace and language module shows empty string.

Waybar log ``` [2024-10-03 08:11:20.463] [info] Using configuration file /home/sergej/.config/waybar/config.jsonc [2024-10-03 08:11:20.607] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop [2024-10-03 08:11:20.607] [info] Using CSS file /home/sergej/.config/waybar/style.css [2024-10-03 08:11:20.613] [info] Hyprland IPC starting [2024-10-03 08:11:20.613] [error] Hyprland IPC: Unable to connect? [2024-10-03 08:11:20.613] [info] Loading persistent workspaces from Hyprland workspace rules [2024-10-03 08:11:20.749] [warning] Requested height: 45 is less than the minimum height: 50 required by the modules [2024-10-03 08:11:20.749] [info] Bar configured (width: 1900, height: 50) for output: DP-3 ** (waybar:1273): WARNING **: 08:11:20.756: Status Notifier Item with bus name ':1.28' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered failed to unlink ports: No such file or directory failed to unlink ports: No such file or directory failed to unlink ports: No such file or directory failed to unlink ports: No such file or directory ==> ERROR: Cannot fetch updates ```
System/Version info ``` Waybar v0.11.0 ``` ``` Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0). Date: Sun Sep 8 16:48:21 2024 Tag: v0.43.0, commits: 5196 ```

Relaunching waybar always fixes the issue, but it happens again after some time. I tried a fix from https://github.com/Alexays/Waybar/issues/3230 ln -s $XDG_RUNTIME_DIR/hypr /tmp/hypr and it didn't help much.

vpcano commented 4 days ago

same problem here