end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.08k stars 197 forks source link

[Issue] System Tray menus are missing important styles. #512

Open Cu3PO42 opened 1 month ago

Cu3PO42 commented 1 month ago

The issue

The CSS rules applied to context menus in the system tray hide important details. For example, the context menu of nm-applet currently looks like this:

image

Available networks should have an arrow or other indicator that it has a sub-menu and "Enable Wi-Fi" and "Enable Networking" should both have checkboxes. If I remove any custom CSS they do:

image

Additionally, the icon for nm-applet is very different with styles applied. I'll tr to investigate why this happens and how it may be fixed.

end-4 commented 1 month ago

caused by * {all: unset} for sure haven't found out how to keep styles for those stuff

Cu3PO42 commented 1 month ago

Agreed. I was thinking of trying to do *:not(....) } {}, but I'm not yet sure how to select the menu. And GTK inspector also isn't particularly helpful because the menu doesn't stay open as soon as I click over to the inspector.

A cleaner solution would likely be to add back the necessary rules to show dividers, checkboxes and arrows.