Description: Customizable dynamic calendar with new Material style. Used system icon "mini-calendar-widget" (if available on icon theme), if not - available some template examples on archive. Recommend use with Latte Dock (48px icon size and higher) Special thx @psifidotos (Michail Vourlakos) for Calendar and Martin Kotelnik for IconPickerLast changelog:
20210919
- remove eventsMarker (it's show if enable agenda on original plasma clock widget) - removed qmlc's
This widget is awesome - thanks for making it! Also thanks for the help via email. When this is added to the Latte dock I wanted to open a full calendar app instead of the expanded calendar plasmoid. Your solution worked perfectly and now I have gnome-calendar (/usr/bin/gnome-calendar) opening when I click the plasmoid icon in the Latte dock. I repeat your advice to me as follows:
1. Open the config file ~/.local/share/plasma/plasmoids/org.kde.plasma.calendar.wl/contents/ui/main.qml
2. Replace this string of code:
Plasmoid.compactRepresentation: MouseArea {
onClicked: plasmoid.expanded = !plasmoid.expanded
with this (change /usr/bin/your-app to the string for the app you want to open upon clicking the dock icon).....
(Latte will need a restart after the file change)
PlasmaCore.DataSource {
id: executable
engine: "executable"
connectedSources: []
onNewData: disconnectSource(sourceName)
function exec(cmd) {
executable.connectSource(cmd)
}
}
function action_run_my_app() {
executable.exec('/usr/bin/your-app')
}
Plasmoid.compactRepresentation: MouseArea {
onClicked: action_run_my_app()
Ratings & Comments
2 Comments
10 It's a very good widget, but on Latte dock on Plasma 5.25.5 it appears too small compared to the other icons, how can I solve?
This widget is awesome - thanks for making it! Also thanks for the help via email. When this is added to the Latte dock I wanted to open a full calendar app instead of the expanded calendar plasmoid. Your solution worked perfectly and now I have gnome-calendar (/usr/bin/gnome-calendar) opening when I click the plasmoid icon in the Latte dock. I repeat your advice to me as follows: 1. Open the config file ~/.local/share/plasma/plasmoids/org.kde.plasma.calendar.wl/contents/ui/main.qml 2. Replace this string of code: Plasmoid.compactRepresentation: MouseArea { onClicked: plasmoid.expanded = !plasmoid.expanded with this (change /usr/bin/your-app to the string for the app you want to open upon clicking the dock icon)..... (Latte will need a restart after the file change) PlasmaCore.DataSource { id: executable engine: "executable" connectedSources: [] onNewData: disconnectSource(sourceName) function exec(cmd) { executable.connectSource(cmd) } } function action_run_my_app() { executable.exec('/usr/bin/your-app') } Plasmoid.compactRepresentation: MouseArea { onClicked: action_run_my_app()