Update .gitignore, add metadata.desktop

This commit is contained in:
qewer33 2021-12-17 18:53:31 +03:00
parent e408e99315
commit d576bf7fff
5 changed files with 25 additions and 0 deletions

4
.gitignore vendored
View file

@ -3,3 +3,7 @@ ClearClock.creator.user
ClearClock.cxxflags
ClearClock.cflags
ClearClock.creator
ClearClock.files
ClearClock.config
ClearClock.includes
ClearClock.plasmoid

Binary file not shown.

BIN
assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 KiB

View file

@ -136,6 +136,7 @@ Item {
id: clockFontColorDialog
title: "Select Background Color"
currentColor: cfg_clockFontColor
showAlphaChannel: true
onAccepted: {
cfg_clockFontColor = clockFontColorDialog.color
}
@ -234,6 +235,7 @@ Item {
id: dayFontColorDialog
title: "Select Background Color"
currentColor: cfg_dayFontColor
showAlphaChannel: true
onAccepted: {
cfg_dayFontColor = dayFontColorDialog.color
}
@ -356,6 +358,7 @@ Item {
id: dateFontColorDialog
title: "Select Background Color"
currentColor: cfg_dateFontColor
showAlphaChannel: true
onAccepted: {
cfg_dateFontColor = dateFontColorDialog.color
}

18
package/metadata.desktop Normal file
View file

@ -0,0 +1,18 @@
[Desktop Entry]
Name=ClearClock
Comment=A clear and modern date/time display
Icon=preferences-system-time
Type=System
X-KDE-ServiceTypes=Plasma/Applet
X-KDE-PluginInfo-Author=qewer33
X-KDE-PluginInfo-Name=org.kde.plasma.clearclock
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=https://github.com/qewer33/ClearClock
X-KDE-PluginInfo-Category=Utilities
X-KDE-PluginInfo-License=GPL-3.0+
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml