Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Hyprland with waybar do not work well

Open Haze-sh opened this issue 1 year ago • 5 comments

When I try to open waybar it doesn't get the Hyprland IPC and thus workspaces don't work

When I run waybar:

[2023-12-27 23:08:07.428] [info] Hyprland IPC starting
[2023-12-27 23:08:07.524] [error] Hyprland IPC: Couldn't get host (2)

OS: Artix linux Version: waybar 0.9.24

Can't try the waybar-git version from AUR because it needs systemd dependency

What could be the problem?

Haze-sh avatar Dec 27 '23 23:12 Haze-sh

Hyprland works fine with the current version of Waybar. How did you build and install it?

khaneliman avatar Jan 02 '24 04:01 khaneliman

I installed it from pacman, specifically the "world" artix repo

Haze-sh avatar Jan 07 '24 14:01 Haze-sh

Running perfectly for me, I'm on Arch though...

5p4r74cu5 avatar Jan 09 '24 22:01 5p4r74cu5

I managed to compile the waybar-git package from AUR on Artix by removing the systemd dependency from meson.build, but it still takes 36 second for bar to start (from first log messages to "Bar configured"), and after that all of the features related to Hyprland (clicking to change workspace or highlighting current workspace) lag for a few seconds. Everything is fine after removing hyprland/modules from config. Attaching the log below, please respond if you need any additional info:

[2024-01-20 22:26:05.281] [info] Using configuration file /home/cheloveg/.config/waybar/config
[2024-01-20 22:26:05.283] [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-01-20 22:26:05.283] [info] Using CSS file /home/cheloveg/.config/waybar/style.css
[2024-01-20 22:26:05.290] [warning] Mapping is not an object
[2024-01-20 22:26:05.290] [info] Hyprland IPC starting

(waybar:25475): GLib-GObject-CRITICAL **: 22:26:20.521: ../glib/gobject/gsignal.c:2088: type 'GtkWindow' is already overridden for signal id '73'

(waybar:25475): GLib-GObject-CRITICAL **: 22:26:20.521: ../glib/gobject/gsignal.c:2088: type 'GtkWindow' is already overridden for signal id '72'
[2024-01-20 22:26:20.521] [warning] Mapping is not an object
[2024-01-20 22:26:50.971] [info] Bar configured (width: 1920, height: 43) for output: HDMI-A-1
[2024-01-20 22:26:50.971] [info] Bar configured (width: 1920, height: 43) for output: eDP-1
^C[2024-01-20 22:27:24.318] [info] Quitting.

OS: Artix Linux Version: 6e12f81 from git (also reproducible on v0.9.24)

cheloveg avatar Jan 20 '24 19:01 cheloveg

What does your config look like?

khaneliman avatar Jan 24 '24 14:01 khaneliman

Turn on the internet, had same issue when internet was off

LegitSt0ne avatar Mar 21 '24 13:03 LegitSt0ne