Minimal Clock
Plasma 5 Clocks
Score 60%
Description:

Frameworks port of http://kde-apps.org/content/show.php?content=156715&forumpage=0

gvcastellon

8 months ago

To make it look as possible from the original, I made these changes in the path:

~/.local/share/plasma/plasmoids/minimalclock/contents/ui> main.qml


Text {
id: time
font.family:textFont
font.bold: false
color: textColor
font.pointSize: 75
text: Qt.formatTime( dataSource.data["Local"]["DateTime"],"h:mm ap") .replace(' am', '').replace(' pm', '');
anchors {
top: parent.top;
left: parent.left;
}

}

Text {
id: ampm
font.family:textFont
opacity: 0.5
color: textColor
font.pointSize: 50
text : Qt.formatTime( dataSource.data["Local"]["DateTime"]," ap" )
anchors {
top: parent.top;
left: time.right;
}
}


Text {
id: date
font.family:textFont
color: textColor
font.pointSize: 32
text : Qt.formatDate( dataSource.data["Local"]["DateTime"],"dddd, MMM d yyyy" )
anchors {
top: time.bottom;
left: parent.left;
}
}

...you can see an example in this screenshot. http://i65.tinypic.com/2rfprb7.png

Report

gvcastellon

8 months ago

The font used is the same as the original, "Geo Sans Light":
http://www.dafont.com/geo-sans-light.font
I'm sorry for forgetting to put it in the first comment.

Have a lot of Fun!!

Report

mmdm

1 year ago

This used to have an option for a 12hr clock. Could we have that back, please?

Report

hamez

1 year ago

Well, like you I wanted that 12 hour clock back, as well as the old "look" where the text was outlined in black, because then clock was visible on any background if the text was white. So I've gone ahead and done just that, it's not the nicest since I've just learned QML and the javascript needed for the change, but it's finally working.

Here it is packaged if you want it: https://drive.google.com/file/d/0Bz3pRDjSXE7RUTQycC1CYmthazQ/view?usp=sharing

Report

C

DavidEdmundson

1 year ago

Cool stuff!

Report

obedlink

2 years ago

the plasmoid shows the hour in 24h format and the p.m/a.m text at the same time. for example: 20:35 p.m.

can you add in the configure dialog the option to change between 24h and 12h?

Report

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
updated Apr 09 2015
added Apr 09 2015
downloads today
0
page views today 4