-
-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style.css for Module wlr/workspaces does not apply properly on Hyprland #2121
Comments
This is blocked by hyprwm/Hyprland#2102 because there is no way right now that Waybar can know whether or not something is on screen or not because Hyprland does not set those values (neither does it set urgent). Once it does, it should be able to distinguish whether something is visible by looking at whether or not it's hidden. You'll have to rely on |
Hi there @AndreasBackx Thank you for your fast response. Just make sure I got it right: Hyprland needs to find a way to distinguish between these workspace states, and then Waybar needs to implement a way to check for these states, right? So, there's currently nothing that can be done about it, until Hyprland gets this implemented? Thank you. |
From what I understand, yes. The protocol is not stable/merged yet and is still changing. If the workspace is not visible on the output, it should be hidden so we can then set |
I'm in a similar position. I can't change the foreground color for any states of EDIT: |
Hello @Barbaross93 @AndreasBackx this issue has basically been fixed by #2153 and as such, I will close this issue. |
@theshatterstone neat! I faced this when trying to move to Hyprland, though haven't made the switch as there are some bigger issues. Hoping it works, but cannot verify from my side. Though pretty sure it works. Thank you! |
Hi. Thank you for waybar, and thank you for merging the persistent workspaces code. An issue I've been having for a while is with the waybar style.css for the module wlr/workspaces. The options like button.visible and button.hidden don't work on Hyprland. I decided to use the following css code to test this:
The result was that the styling from
#workspaces
and#workspaces button
apply over the styling forbutton.visible
,button.hidden
, andbutton.urgent
. In fact, even when I comment out the#workspaces
and#workspaces button
sections, the other ones don't apply. For the version, I'm running waybar from the latest sources as of the time of writing this issue, installed using the PKGBUILD from thewaybar-hyprland-git
AUR package.The text was updated successfully, but these errors were encountered: