diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2026-08-24 21:54:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-24 21:54:18 -0700 |
| commit | c6188e50b932bbb8edd21f85bcd611e93b0a090f (patch) | |
| tree | ff67d04f453469a2faaa2f090749bb42319a224b | |
| parent | cd90d905951114d4edb9720c5504c698b372b320 (diff) | |
add custom notification sound
| -rwxr-xr-x | config/swaync/config.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/swaync/config.json b/config/swaync/config.json index 7a30dbec..78dc129c 100755 --- a/config/swaync/config.json +++ b/config/swaync/config.json @@ -28,6 +28,13 @@ "hide-on-clear": false, "hide-on-action": true, "script-fail-notify": true, + "scripts": { + "notification-sound": { + "exec": "mpv --no-terminal $HOME/.config/swaync/notify.mp3", + "run-on": "receive", + "app-name": ".*" + } + }, "widgets": [ "dnd", "buttons-grid", |
