diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-10-09 14:51:33 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-10-09 14:51:33 +0800 |
| commit | df9a3523a8c6daa6967b4fdd19956a07b120ddf2 (patch) | |
| tree | 282aefecd3d49477e430ab70b1337b7fa79a10fb | |
| parent | 785b526a6a8be8f231ac422e5f148ace7e3d72d0 (diff) | |
add(autostart): turn on and off dnd at start to avoid spam notification
| -rw-r--r-- | dot-config/hypr/autostart.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
