hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.05k stars 32 forks source link

Hypr doesn't give polybar system tray #63

Open ExperiBass opened 2 years ago

ExperiBass commented 2 years ago

Please describe the bug Polybar can't get the system tray. It's either grayed out or outright missing.

error: Failed to reconfigure tray client, removing... (XCB_WINDOW (3))

Steps to reproduce:

  1. Disable Hypr bar.
  2. Start polybar.

Expected behavior Polybar should be able to use the system tray, and i should be able to interact with it.

Screenshots image

Anything else? confeeg

Log: loooooooooooooog

vaxerski commented 2 years ago

comment out the tray module, disable bar, relog into hypr and try again. I'll test your config on my machine later today when I get back home

vaxerski commented 2 years ago

Should be fixed in ca432cc589b82b5c9142a4cb0b78eed6e95c3e58, the config option is bar:force_no_tray, set it to 1 and it should work.

ExperiBass commented 2 years ago

Should be fixed in ca432cc589b82b5c9142a4cb0b78eed6e95c3e58, the config option is bar:force_no_tray, set it to 1 and it should work.

Still not interactable, to confirm that I did it right it's force_no_tray=1 inside Bar {}?

vaxerski commented 2 years ago

yes. Make sure to restart Hypr after changing the setting.

ExperiBass commented 2 years ago

Its still not interactable.

vaxerski commented 2 years ago

I've tried to enable focus on NoInterventions, but didn't help.

Although all the icons are there for me, they indeed are not interactable. Perhaps configuring them would help? I'll look more into it in a bit.

I am not recieving (by I, I meant the WM) any ENTER events, which I guess should happen for input...?