diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-19 12:22:20 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-19 12:22:20 +0530 |
| commit | 0a5559b9d188796022d0c0f4e0601fb491e26bc5 (patch) | |
| tree | 077f3d7bf112cd39396b06d06c06fcdcc8950a39 /quickshell/shell.qml | |
| parent | 4706f2c86a9aa45876facae5358ca38a3026fef3 (diff) | |
implemented a simple dnd system
which doubles as a privacy filter for screen recordings
Diffstat (limited to 'quickshell/shell.qml')
| -rw-r--r-- | quickshell/shell.qml | 8 |
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 |
