You are not logged in.
I guess it's from gtk4's shadow rendering but how do I get rid of it? I'm using XFCE with compositing off(for gaming reasons).
Last edited by jmj (2024-03-27 15:18:07)
Offline
https://wiki.archlinux.org/title/GTK#Cl … ecorations - you might have to make this gtk-4.0 (also)
Not sure whetehr https://github.com/yshui/picom/issues/5 … -912830561 still applies.
Offline
Thanks. Actually the post down further got me a bit closer to my objective: https://github.com/yshui/picom/issues/5 … 1191880622
It now looks like this: https://postimg.cc/H8YVF5Xc
If I can figure out the selector for that little up arrow thing I think "background-color: transparent" should fix it.
Offline
https://docs.gtk.org/gtk4/class.Popover.html#css-nodes
popover arrow {
…
}
but idk what colors will control that ("background" is probably worth a shot)
Offline
I played around in the gtk inspector for a bit and got a little closer: https://postimg.cc/Jyy4Ccpv
I also figured out how to apply my preferred theme (Arc-Dark) so it'll look different than before.
That black background under the arrow is actually from
popover { background: ... }
However it can't do transparency without enabling compositing so I just had to move the popup closer to the top and make the arrow invisible.
Final CSS:
popover contents {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
box-shadow: none;
margin-top: -12px;
}
popover arrow {
background: transparent;
border-color: transparent;
}
Not completely ideal but it works for now.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
You may also want to extend the wiki itr.
Offline