kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Path to Buttons aurorae theme not support ~ and $HOME #118

Closed trmdi closed 6 years ago

trmdi commented 6 years ago

It can only support: /home/user/path/to/theme/

But not: ~/path/to/theme/ and not: $HOME/path/to/theme/

kotelnik commented 6 years ago

Hi! You are right, thanks for report. I just committed a change that automatically finds proper decoration files based on kwin decoration settings. I also added a context action to manually reload theme if needed (it will not get reloaded after immediate kwin settings change).

Please try it out and reopen this issue if you find problems. Thanks!

trmdi commented 6 years ago

Hey @kotelnik I've seen the change, but that's not really good, for example, I'm using SierraBreeze window decoration theme (a fork of the Breeze decoration, not an aurorae theme), but I want to use Breezemite (an aurorae theme) as the AWC button theme.

Can you implement a dropdown box which scans the aurorae theme directories, then users can easily select it? Like this: image

Kishore96in commented 6 years ago

Could you please provide an option to override this? I'm currently using a window decoration that doesn't provide titlebars or titlebar buttons, and I just get empty space where the buttons are supposed to be shown, after this change.

kotelnik commented 6 years ago

Sure, sorry about the last change. I naively thought that every aurorae decoration provides the needed files. I'll fix it soon. Please wait :).