Closed Svenum closed 8 months ago
I have written my own version of this Plasmoid. Feel free to use it and make issues if needed. :) https://github.com/Svenum/quick_shutdown
@Davide-sd if you want to merge this plugin to yours I would be happy :)
Hello @Svenum ,
Thanks for letting me know about Plasma 6, and sorry for my late reply.
How does your plugin differ from mine, except being written for Plasma 6?
Also, I assume that in order to test a Plasma 6 widgets, Plasma 6 must be installed on the system. Do you know of any Debian-based distribution that ships with it?
I have taken the 'user-switch' plugin (qt6 version) as a base like you. And then add the options for the power modes. To shutdown and reboot and so on I use the session manager instead of dbus calls.
I use the unstable NixOS version with plasma6. I heard that arch has plasma6 too, but not that any debian base distro has upgraded already.
If you want I can make an PR for my version into your repo, or would you contribute to my if you are not so active on GitHub?
Ok, I've managed to complete the porting. I didn't ask your to make a PR because I needed to build experience with Plasma 6, because I have to port another widget.
Thank you again for letting me know about this! I'm closing this issue.
Please port this widget to KDE Framework 6. The guidelines are here.