Minimal Clock

Plasma 5 Clocks

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 74.0%
Description:

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

gvcastellon

2 years 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

2 years 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

3 years ago

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

Report

hamez

3 years 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

3 years ago

Cool stuff!

Report

obedlink

4 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

12345678910
6
product-maker victorhck Mar 14 2017 9 excellent
product-maker mh_sora Oct 23 2016 9 excellent
product-maker janet Jun 15 2015 9 excellent
product-maker alfaflo May 01 2015 9 excellent
product-maker Contrast Apr 12 2015 9 excellent
product-maker nowardev Apr 10 2015 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
janet
Mar 04 2016
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Apr 09 2015
added Apr 09 2015
downloads 24h
1
mediaviews 24h 0
pageviews 24h 12