Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Plasma Style #138

Open
ghost opened this issue Dec 29, 2022 · 2 comments
Open

Create Plasma Style #138

ghost opened this issue Dec 29, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request Postponed Postponed for the next release

Comments

@ghost
Copy link

ghost commented Dec 29, 2022

KDE has somewhat annoyingly began shifting some icons to the Plasma style. See here:
https://develop.kde.org/docs/extend/plasma/theme/theme-details/

The plasma style is separate from the plasma color scheme as well as the GTK/QT theme, so this does not require a lot of work of colormanager. I would think something the following would basically do everything needed:

if command -v kwriteconfig > /dev/null; then
   kwriteconfig5 --file plasmarc --group Theme --key name NsCDE
fi

The plasma style is a simple directory in

(/usr|~/.local)/share/plasma/desktoptheme/

Phob1an has a good basis:

https://www.opencode.net/phob1an/commonality/-/tree/master/desktoptheme/Commonality

I've gone ahead and started creating some icons for my own usage.
icons.zip
These go in path desktoptheme/NsCDE/icons

My notification icon is colored for Broica. If one converted it to xpm we can we color with colormanager and then convert the xpm to png, run that through base64, and then throw the result into the svg. So far it's the only icon I know of that's colorized, however if one wanted to avoid colorizing icons some creativity in creating new ones can be done.

As for things I haven't made yet I'm using oxygen icons as a fallback:
https://store.kde.org/p/1120624
As oxygen's 3d look fits better with NsCDE than the monochrome flat icons KDE defaults to in my opinion.

If anyone knows a good battery and network indicator icons that fits with CDE (and licensed under a GPL compatible license) I would do the work to make one.

@NsCDE NsCDE self-assigned this Feb 9, 2023
@NsCDE NsCDE added the enhancement New feature or request label Feb 9, 2023
@NsCDE
Copy link
Owner

NsCDE commented Feb 9, 2023

Hello @tim78245

Thank you very much for this kwriteconfig and plasma/desktoptheme drop ins for initial setup and color style manager. Icons are nice. I will know how to handle pre-processed notification icons.

I will probably have some time next month to merge this and couple more things. Maybe to have 2.3 ready on summer.

Thanks once again.

@NsCDE NsCDE added the Postponed Postponed for the next release label May 24, 2023
@ghost
Copy link
Author

ghost commented Aug 26, 2023

Seems like KDE will shift icons back out of plasma style for Plasma 6, making this kind of moot.

https://pointieststick.com/2023/08/12/how-all-this-icon-stuff-is-going-to-work-in-plasma-6/

Plasma 5 will still be used in Debian for 2 years or so though. Who knows when Plasma 6 will hit.

Something else I've done is I've edited out all the drop shadows Phob1an had in the widgets part of the Plasma style.

Here's what I have so far:
NsCDE.zip
Goes in ~/.local/share/plasma/desktoptheme

But this part will require color manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Postponed Postponed for the next release
Projects
None yet
Development

No branches or pull requests

1 participant