Merge pull request #614 from damian-ds7/toggle-calendar-on-date-click

CalendarPanel: toggle panel after date click
This commit is contained in:
Lysec
2025-10-29 22:26:42 +01:00
committed by GitHub
+1
View File
@@ -737,6 +737,7 @@ NPanel {
onClicked: {
const dateWithSlashes = `${model.month.toString().padStart(2, '0')}/${model.day.toString().padStart(2, '0')}/${model.year.toString().substring(2)}`
Quickshell.execDetached(["gnome-calendar", "--date", dateWithSlashes])
PanelService.getPanel("calendarPanel").toggle(null)
}
onExited: {