qtile icon indicating copy to clipboard operation
qtile copied to clipboard

Systray Opacity

Open christopherbui opened this issue 2 years ago • 8 comments

The issue:

Specs:

  • Arch Linux
  • Kernel 5.16.11

I have picom eanbled, with 90% opacity set for the bar background. However, regardless of the background opacity set, the systray background will always have 0% opacity.

The only way to have systray background match that of the bar is if opacity is 100%.

I have tried setting opacity background of systray within the config file, but that does not work.

I have read the docs and have found no proper solution. Is this a bug or is there a proper way to handle systray background opacity? My goal is to have it match the bar's opacity at all times.

Thank you systray_opacity

Required:

  • [X] I have searched past issues to see if this bug has already been reported.

christopherbui avatar Mar 02 '22 23:03 christopherbui

~The Systray icons are separate windows and so the bar opacity value does not impact them.~

~I will take a look to see if it's possible to pass this value on to the icons.~

elParaguayo avatar Mar 03 '22 06:03 elParaguayo

Actually, I can't recreate this.

I've just tested by setting bar opacity to 0.5 in my config and the systray icons respect that opacity.

Can you share your config?

elParaguayo avatar Mar 03 '22 10:03 elParaguayo

That's interesting that it's not reproducible. I am running on a fresh Arch install with picom-ibhagwan from the AUR installed.

qtile_config picom_config

christopherbui avatar Mar 03 '22 22:03 christopherbui

Instead of using a picom rule for the opacity, try setting the opacity for the bar in your config.

elParaguayo avatar Mar 03 '22 22:03 elParaguayo

I have commented out all opacity rules in the picom config and set opacity through the qtile config, yet the problem persists. I am thinking about trying a different fork of picom, but I have my doubts that is the cause.

systray2

christopherbui avatar Mar 03 '22 22:03 christopherbui

That behaviour is expected. Systray doesn't work when you a semi transparent alpha value to e background colour. That's referenced in the docs.

Try removing the alpha value and then set the opacity value in the bar's parameters. Looking at your GitHub link, that's still set to 1.

elParaguayo avatar Mar 04 '22 05:03 elParaguayo

@christopherbui have you managed to test the above?

elParaguayo avatar Mar 07 '22 10:03 elParaguayo

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Sep 03 '22 12:09 github-actions[bot]