Currently I am using tray within a group's drawer, when spacing is set within the tray module if I hover between the gap of the first and second tray icon the drawer collapses.
Relevant Config:
I have tried a lot in fixing this, including referencing Issue #2569, which uses menu and menuitem tags in the css selector, but I have so far failed to get either of these to work. My solution is not very clean, but gets the job done, I use the #tray * selector and set a left margin, note that #tray > * > * also works and is technically more "specific" in terms of selection.
Working Config:
Currently I am using tray within a group's drawer, when spacing is set within the tray module if I hover between the gap of the first and second tray icon the drawer collapses. Relevant Config:
Relevant Styling:
Demo:
I have tried a lot in fixing this, including referencing Issue #2569, which uses menu and menuitem tags in the css selector, but I have so far failed to get either of these to work. My solution is not very clean, but gets the job done, I use the
#tray *
selector and set a left margin, note that#tray > * > *
also works and is technically more "specific" in terms of selection. Working Config:Working Styling:
It is important to note that I have not been able to get this selector to work with the hover pseudo class. Working Demo:
Running waybar version 0.9.24 on Arch Linux with Hyprland.