From df9a3523a8c6daa6967b4fdd19956a07b120ddf2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 9 Oct 2024 14:51:33 +0800 Subject: add(autostart): turn on and off dnd at start to avoid spam notification --- dot-config/hypr/autostart.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot-config/hypr/autostart.conf b/dot-config/hypr/autostart.conf index dc707d8e..f25a5ecd 100644 --- a/dot-config/hypr/autostart.conf +++ b/dot-config/hypr/autostart.conf @@ -86,3 +86,6 @@ exec-once = pgrep -f gpu-screen-recorder && notify-send 'recorder' 'recording' # restore session exec-once = hyprsession + +# spam of notification at start(e.g. chromium) +exec-once = swaync-client --dnd-on && sleep 3 && swaync-client --dnd-off -- cgit v1.2.3