I recently started to have fun using custom icons by placing them in the theme directory, but i've found that - if you set the tray and tasks applets to be in two different panels( with different background colors) each one - it may lead to ugly results.
One can always set the Icon field for sticky buttons in the taskbar of course (to use a png with a different name), but this has no effect on those applications which are not sticked in the applet.
So here's my terrible idea: why don't we place custom icons in an "Icon" folder within the theme one using subdirectories, like "Taskbar" "SysTray" and even "Menu"?
This would be helpful for theming, and to keep order in the theme folder.
I don't know if this is asking too much.
Just an idea ;)
Last edit: Hombremaledicto 2013-05-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not as elegant as i'd like it to be and not tested, but should work.
If you got eg.
[Trojita]
Type=Button
inside
[LaunchBar]
Type=TaskBar
inside
[BottomPanel]
Theme/Current/BottomPanel/LaunchBar/Trojita/trojita.png
would take precendece over
Theme/Current/BottomPanel/LaunchBar/trojita.png
over
Theme/Current/BottomPanel/trojita.png
over
Theme/Current/trojita.png
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok: it's been a while since the last post, but this never worked.
E.g.
[kate]
Exec=kate
Icon=kate
Mode=0
Type=Button
[tasks]
Buttons=..,kate,..
Type=Taskbar
[WunderBar]
Applets=..,tasks,..
Id=WunderBar
[BE::Shell]
Panels=WunderBar,..
Theme=MyTheme
If i put a kate.png in ~/.kde4/share/apps/be.shell/Themes/MyTheme it works.
While instead, if i put it in ~/.kde4/share/apps/be.shell/Themes/MyTheme/WunderBar/tasks/ or ~/.kde4/share/apps/be.shell/Themes/MyTheme/Wunderbar etc... It does not.
Also tried with some other applets (most probably you implemented this only for buttons, for what i understood) like icons for systray or volume (creating the appropriate subdirs everytime), with no luck.
Can you fix this?
Last edit: Hombremaledicto 2014-11-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently started to have fun using custom icons by placing them in the theme directory, but i've found that - if you set the tray and tasks applets to be in two different panels( with different background colors) each one - it may lead to ugly results.
One can always set the Icon field for sticky buttons in the taskbar of course (to use a png with a different name), but this has no effect on those applications which are not sticked in the applet.
So here's my terrible idea: why don't we place custom icons in an "Icon" folder within the theme one using subdirectories, like "Taskbar" "SysTray" and even "Menu"?
This would be helpful for theming, and to keep order in the theme folder.
I don't know if this is asking too much.
Just an idea ;)
Last edit: Hombremaledicto 2013-05-06
I like this idea! :D
Not as elegant as i'd like it to be and not tested, but should work.
If you got eg.
[Trojita]
Type=Button
inside
[LaunchBar]
Type=TaskBar
inside
[BottomPanel]
Theme/Current/BottomPanel/LaunchBar/Trojita/trojita.png
would take precendece over
Theme/Current/BottomPanel/LaunchBar/trojita.png
over
Theme/Current/BottomPanel/trojita.png
over
Theme/Current/trojita.png
Oh :-)
Many thanks !!!
Long time being waiting for this.
Also the merryXmas effect and the new calendar are nice. Thanks! :-)
Last edit: Hombremaledicto 2013-12-02
Ok: it's been a while since the last post, but this never worked.
E.g.
[kate]
Exec=kate
Icon=kate
Mode=0
Type=Button
[tasks]
Buttons=..,kate,..
Type=Taskbar
[WunderBar]
Applets=..,tasks,..
Id=WunderBar
[BE::Shell]
Panels=WunderBar,..
Theme=MyTheme
If i put a kate.png in ~/.kde4/share/apps/be.shell/Themes/MyTheme it works.
While instead, if i put it in ~/.kde4/share/apps/be.shell/Themes/MyTheme/WunderBar/tasks/ or ~/.kde4/share/apps/be.shell/Themes/MyTheme/Wunderbar etc... It does not.
Also tried with some other applets (most probably you implemented this only for buttons, for what i understood) like icons for systray or volume (creating the appropriate subdirs everytime), with no luck.
Can you fix this?
Last edit: Hombremaledicto 2014-11-13
Please Try:
Changed button.cpp, recompiled, restarted be.shell, yet nothing following the same from above:
~/.kde4/share/apps/be.shell/Themes/MyTheme/WunderBar/kate.png
Sorry, I'm just stupid.
commit 421e2d2328e49d8e3fbf9b1104c0efcfe63272d3
No problem, now it's working :)
Many thanks!