hyprland workspaces taskbar hover on windows #4919
-
|
Is it possible to add hover highlight over windows here? At the moment nothing is happening. I don 2026-03-10_21.27.52.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
From what I understand, hover styling isn’t really supported for individual window icons in the Hyprland workspace taskbar. Those icons are rendered as part of a single element and don’t expose separate GTK selectors, so :hover won’t apply to each window individually. You can still use hover on workspace buttons themselves (like For visual feedback, using active or focused states (like enabling If you check with GTK_DEBUG=interactive, you’ll also notice there isn’t a separate widget for each icon, which is why hover doesn’t work here. |
Beta Was this translation helpful? Give feedback.
From what I understand, hover styling isn’t really supported for individual window icons in the Hyprland workspace taskbar.
Those icons are rendered as part of a single element and don’t expose separate GTK selectors, so :hover won’t apply to each window individually.
You can still use hover on workspace buttons themselves (like
#workspaces button:hover), but not on the individual taskbar icons inside them.For visual feedback, using active or focused states (like enabling
update-active-windowand styling.active) is probably the closest alternative.If you check with GTK_DEBUG=interactive, you’ll also notice there isn’t a separate widget for each icon, which is why hover doesn’t work here.