adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.51k stars 303 forks source link

blurry launcher abnormal after changing the background color #66

Closed samchugit closed 2 years ago

samchugit commented 2 years ago

I use the launcher profile of rofi/launchers/misc/blurry.rasi, and tweak the background settings:

background:      #00000088  /* before was #00000000 */
background-alt:  #00000000;
background-bar:  #f2f2f215;

and I got the weird launcher: image

I check the profile and find some clues. The original profile set icon and text background to the background color, which it's not correct, and will cause the background color overlay. The best way is to set them to the background-alt color, which is transparent, used for all element backgrounds. And it backs to normal.

/* original profile */
element-icon {
    background-color:               @background;
    ...
}
element-text {
    background-color:               @background;
    ...
}

/* modified profile */
element-icon {
    background-color:               @background-alt;
    ...
}
element-text {
    background-color:               @background-alt;
    ...
}

image

I'm not sure if it's a bug, but it solves my problem. And thanks for your excellent job!