I just updated plasma to 6.2.90 and the separator between date and time appeared in the digital clock widget. Looks like there’s no way to disable it, which is unfortunate because it adds visual clutter for me and makes it harder to see the date at a quick glance.
I would highly appreciate if there was an option to disable it, or maybe there is one which I was unable to find?
@skyfishgoo I think you missunderstand. It is not about margin ses
separator between widget, it is a new marker inside clock widget (specific to the clock and harcoded)
@kalinochkind@akselmo I had the same problem as OP and what I did is copy the clock widget from /usr/share/plasma/plasmaoids/org.kde.plasma.digitalclock to ~/.local/share/plasma/plasmaoids/.
I then modify the name and Id of the widget in the metada.json and modify the separator bar.
We can remove it then or reduce it, I modify it to make it look more like a dot (wich suit me).
Yes I was writing about that. It depends on youre version of plasma. I have it on a system with kde/plasma 6.3 dev (but not on my 6.2 version).
Edit: @kalinochkind You can modify the separator (or remove it) by copy the widget (and maybe rename it) and look into the qml files.
The separator bar is in /home/$USER/.local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui
you can search for separator
You could also make it like a dash with a little more work
@ngraham@akselmo But yes removing it could permit to choose other separator like ASCII bullet or utf8 stuff. don’t know why the choice for a hardcoded drawn line (quite opinionated), appart that then you can control the size of the bar to make it thin and 0.8 of panel heigt. Also you can have a straight vertical line even with italic font.
I also have a question about the org.kde.plasma.digitalclock files: it is better to rename/chang Id of the widget so not to have confilct ?
Found this quite jarring after being upgraded to Plasma 6.3 on Fedora. For me, I keep multiple clock instances in my bar (my timezone and the timezones of my colleagues), but only want one to have a date.
#to copy the settings for the clock plasmoid manually from /user to ~/.local use
kpackagetool5 --install /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/
then if you want to revert back to the default, just delete your copy.
the disadvantage is if there is an update to the .qml you will not see it because your local file takes precedence , so i just modify the original and when my mods stop working, i know the .qml was updated and i need to reapply my mods.
4.Go to line 252 and change 2 to 1 at the end of the string width: dateLabel.width + labelsGrid.width + timeMetrics.advanceWidth(" ") * 2
This should revert the clock to how it was before.
I also like to edit ~/.local/share/plasma/plasmoids/org.kde.plasma.digitalclock/metadata.json and change the name of the widget so I know I’m using the modified one.
I missed this thread and started a redundant one, sorry.
Yes, another voice for an option to disable this separator, please. It is jarring, there is no need for it and it wasn’t there until I updated to Plasma 6.3.
So this was fixed? Status says RESOLVED FIXED. But it’s still there in 6.3.3. It’s really ugly. I had to switch to “below time” for now. Do I have to remove, add again and reconfigure the widget? Thanks.
The first report - the bug that the separator persisted after unchecking “Show date” - is in Resolved/Fixed status, and shows the Version Fixed In as Plasma 6.3.1.
The second one - the feature request to be able to disable the separator when the date is shown - is in “Confirmed” status, so it’s waiting on someone to implement it
That someone is me. The code is running here on my system, I just have to learn about how KDE does collaboration so I can share it. I’ve been held up a little as a prior engagement was pushed forward, but I’m on it.