Zren / plasma-hud

Provides a way to run menubar commands in KDE Plasma through rofi, much like the Unity 7 Heads-Up Display (HUD).
GNU General Public License v2.0
235 stars 9 forks source link

Transparency, Blur, and Kvantum themes #24

Open archisman-panigrahi opened 5 years ago

archisman-panigrahi commented 5 years ago

Is it possible for HUD to have blur like menus in kvantum theme? 1

Right now, the HUD does not support opacity and blur.

sammyspark commented 4 years ago

Agreed, this would be a very nice feature to have. If this is difficult to implement, even a rudimentary Konsole-style background translucency would be great, as so many people are using translucent terminals and/or menus already.

archisman-panigrahi commented 4 years ago

I recently found this repo (for file search and web search) where rofi is somehow configured to use transparency and blur. It would be great if plasma-hud can use this feature. image

Zren commented 4 years ago

I don't think that's KWin. Rofi can probably draw a transparent background easy enough. The hard part is telling KWin to blur the contents below the window.

Would need to check these: https://github.com/manilarome/rofi-spotlight/blob/master/rofi.rasi#L11-L23

archisman-panigrahi commented 4 years ago

I installed rofi-spotlight in plasma. It is transparent, but does not use blur. I also tried using the Force Blur KWin script (which is used here to make firefox transparent) to force blur on "rofi" , but it did not work. However blur works with Firefox.

Is this because rofi does not use a traditional "window"?

ren2r commented 4 years ago

I don't know if it's this kind of thing that you want, but this kind of blur below it's possible to do it in kwin. Although, I tested it sometime ago, I must have the code to enable it in one of my backups, the only thing needed was inject some rules in rofi window before populating it. Blur