Skip to content

Commit 40d45ff

Browse files
authored
Merge pull request #650 from simonjones49/khal-widget
Removed end time, updated preview, removed kitty as required, version…
2 parents 4cf135d + a7dcf40 commit 40d45ff

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

khal-agenda-widget/DesktopWidget.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ DraggableDesktopWidget {
2323
// Main data process
2424
Process {
2525
id: calProc
26-
command: ["sh", "-c", "khal list today 7d --format '{start-end-time-style} {title}' --day-format '{name}, {date}'"]
26+
command: ["sh", "-c", "khal list --notstarted now 7d --format '{start-time} {title}' --day-format '{name}, {date}'"]
27+
// command: ["sh", "-c", "khal list today 7d --format '{start-end-time-style} {title}' --day-format '{name}, {date}'"]
2728
running: root.pluginApi !== null
2829
stdout: StdioCollector {
2930
onTextChanged: root.calendarVal = text.trim().replace(/\n\s*\n/g, '\n')

khal-agenda-widget/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
A theme aware Noctalia desktop plugin that displays agenda information.
55

66
## Features
7-
Shows the next 7 days of events.
7+
Shows upcoming events for the next 7 days of events.
88
Icon click to open the full calendar.
99

1010
## Configuration
1111
None
1212

1313
## Requirements
1414
- **Noctalia Shell**: 3.6.0 or later.
15-
- **System Dependencies**: khal, kitty
15+
- **System Dependencies**: khal
1616

1717
## Technical Details
18-
- **Data Source**: Uses khal command line and kitty terminal.
18+
- **Data Source**: Uses khal command line.
1919
- **Backend**: QML integration with shell-based data collection.

khal-agenda-widget/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"widget": {
33
"loading": "Loading...",
44
"no_events": "No upcoming events",
5-
"heading": "Agenda for 7 days.",
5+
"heading": "Upcoming events",
66
"button": "calendar-month"
77
}
88
}

khal-agenda-widget/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "khal-agenda-widget",
33
"name": "Khal Agenda Info",
4-
"version": "1.0.0",
4+
"version": "1.0.2",
55
"minNoctaliaVersion": "4.6.6",
66
"author": "Simon",
77
"license": "MIT",

khal-agenda-widget/preview.png

1.67 KB
Loading

0 commit comments

Comments
 (0)