boehs / Lightly

A modern style for qt applications.
Other
209 stars 11 forks source link

How to blur the titlebar like on your screenshots? #11

Closed hrqmonteiro closed 9 months ago

hrqmonteiro commented 1 year ago

Will someone answer?

punpun0 commented 1 year ago

It's in the README

The toolbar and menubar will follow the titlebar opacity. To configure the titlebar opacity, you will have to change the color scheme file directly in ~/.local/share/color-schemes. Open your desired color scheme and, in the [WM] section, add a fourth value to activeBackground and inactiveBackground, like activeBackground=0,0,0,127 where the last value is the alpha, that ranges from 0 (completely transparent) to 255 (totally opaque).

However, I would add that if the color scheme you are using has colors set for the titlebar in the "[Colors:Header]" section, "BackgroundNormal" will require the alpha channel too.

boehs commented 9 months ago

Thanks @punpun0