From 0a5559b9d188796022d0c0f4e0601fb491e26bc5 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sun, 19 Jul 2026 12:22:20 +0530 Subject: implemented a simple dnd system which doubles as a privacy filter for screen recordings --- quickshell/shell.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'quickshell/shell.qml') 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 -- cgit v1.2.3