ishovkun / SierraBreeze

OSX-like window decoration for KDE Plasma written in C++
356 stars 40 forks source link

Konsole transparent titlebar #28

Closed alex47 closed 6 years ago

alex47 commented 6 years ago

Make the Konsole titlebar transparent to give the window a glasslike effect.

https://i.imgur.com/21c7Ilv.jpg

Not the best implementation, but I believe this will satisfy 98% of SierraBreeze users who want this feature. It needs a KWin restart between changing Konsole color profiles to take effect.

IgnusG commented 6 years ago

I don't think it's a good Idea to introduce program specific overrides even for programs such as konsole. It decreases the maintainability and can lead to a hell of a lot of if else/switch case trouble in the future.

Could the loading of the profile be at least extracted into a different function?

alex47 commented 6 years ago

Moved the Konsole color profile read to a function and made use of KConfig to read it instead of simple file scraping.

ishovkun commented 6 years ago

This is awesome man!!!!!