aboutsummaryrefslogtreecommitdiff
path: root/quickshell/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/shell.qml')
-rw-r--r--quickshell/shell.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/quickshell/shell.qml b/quickshell/shell.qml
index 484656f..341e674 100644
--- a/quickshell/shell.qml
+++ b/quickshell/shell.qml
@@ -26,6 +26,7 @@ ShellRoot {
property bool appLauncherVisible: false
property bool calendarVisible: false
+ property bool dnd: false
property bool batteryInfo: false
property bool blink: false
@@ -43,6 +44,13 @@ ShellRoot {
calendarVisible = true
}
}
+ GlobalShortcut {
+ id: dndShortCut
+ name: "toggleDnd"
+ onPressed: {
+ dnd = !dnd
+ }
+ }
Variants {
model: Quickshell.screens