0

I'm trying to make a task list popup with transparency, but I ran into a problem with the borders. Can't find a way to remove the black bars around the popup.

I tried border_width = 0 and theme.border_width = 0 but it just doesn't work.

Popup image

FluffyDango
  • 133
  • 9
  • Are you using some composite manager? Something like `xcompmgr`, `compiz`, ...? Those black bars look like some kind of shadow to me like composite managers draw them. – Uli Schlachter Apr 15 '22 at 14:56
  • Yes, I'm using picom. That was the problem. I didn't know they can draw borders. Thank you! – FluffyDango Apr 15 '22 at 15:56
  • Any idea on how to exclude the shadows from the popup? – FluffyDango Apr 15 '22 at 16:16
  • Not really, but https://github.com/yshui/picom/blob/cd50596f0ed81c0aa28cefed62176bd6f050a1c6/picom.sample.conf#L6-L11 suggests that you want to set `type = "desktop"`. `xprop` should be able to tell you whether that worked. – Uli Schlachter Apr 15 '22 at 16:34

1 Answers1

1

Thanks to @Uli I managed to remove the borders (shadows) of the popup.

The problem was that the picom compositor was creating shadows around the popup.

Making the widget type = "desktop" makes picom ignore it.

github.com/yshui/picom/blob/...

Enabled client-side shadows on windows. Note desktop windows (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, unless explicitly requested using the wintypes option.

FluffyDango
  • 133
  • 9