This is my fork of the analog clock widget in KDE Plasma 5. I was disappointed with the lack of customizability in the clock settings, so I made my own.
For future reference (mainly to myself), the default KDE widgets are located in
/usr/share/plasma/plasmoids/
.
Change your directory to wherever you downloaded the repository and run:
plasmapkg2 --install customclock
then the widget should appear in your widgets sidebar.
To uninstall the widget, simply type:
plasmapkg2 --remove customclock
into the terminal.