faulty corners in waybar with hyprland
I want some rounded corners in waybar for which I set it to something like this :
window#waybar {
background:rgba (0, 0, 0, 0.5);
border-radius: 20px 20px 20px 20px;
}
in style.css
but it shows me something like this :
you can see on left and right side there is a little bit of rectangular transparent corner with rounded corners,
The corners seems to be half rounded and half rectangular.
Any help for this issue will be appreciated :slightly_smiling_face: Thanks in advance :smile:
I assume that the widget with the burger menu is the culprit with the pointy corners. Did you change the background: transparent on the elements subordinated window#waybar?
I can think of two ways to approach this issue.
In your css set the background property of all elements to transparent (that works for me, you may want to check my dotfiles):
* {
background: transparent
}
Alternatively start waybar with the GTK debugger tool env GTK_DEBUG=interactive waybar and check there the css properties of all elements in the hierarchy to see which one has a background and corner vlaue set.
Thanks !!!
In your css set the background property of all elements to transparent (that works for me, you may want to check my dotfiles):
* { background: transparent }
That gave me something like these :
env GTK_DEBUG=interactive waybar
I am pretty newbi in these things, so I just clicked on some random stuffs that first appeared on screen after typing the commands sometimes it used blink for some of things :
http://0x0.st/HJWh.mp4
IDK whether it would be any helpful or not :slightly_frowning_face:
Thanks :smiley: !!! I did this and it worked :
#status bar
exec-once = waybar
# blurls = waybar
layerrule = blur , waybar
layerrule = ignorezero , waybar
Thanks 😃 !!! I did this and it worked :
#status bar exec-once = waybar # blurls = waybar layerrule = blur , waybar layerrule = ignorezero , waybar
I have same problem, but set layerrule is not work. Your waybar is in good condition now?
Thanks 😃 !!! I did this and it worked :
#status bar exec-once = waybar # blurls = waybar layerrule = blur , waybar layerrule = ignorezero , waybar
Sorry to bother you, I fix it. I don't notice that i set box-shadow: 1px 1px 10px 10px @mantle; in waybar config so that this problem arises.

