aboutsummaryrefslogtreecommitdiff
path: root/quickshell/Calendar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/Calendar.qml')
-rw-r--r--quickshell/Calendar.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/quickshell/Calendar.qml b/quickshell/Calendar.qml
index 0b79553..1ad3c15 100644
--- a/quickshell/Calendar.qml
+++ b/quickshell/Calendar.qml
@@ -18,6 +18,13 @@ Rectangle {
monthOffset = 0;
requestClose()
}
+ Keys.onPressed: (event) => {
+ if (event.key == Qt.Key_Comma) {
+ monthOffset--;
+ } else if (event.key == Qt.Key_Period) {
+ monthOffset++;
+ }
+ }
Column {
anchors.fill: parent