aboutsummaryrefslogtreecommitdiff
path: root/.config/swaync/config.json
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-10-31 13:46:29 +0530
committerkrolxon <krolyxon@tutanota.com>2025-10-31 13:46:29 +0530
commit72949597724f4de8d8d4a234265005d0b76bb709 (patch)
treedec6d4ff3626bb4a6e1a1e844f769a0417985d7c /.config/swaync/config.json
parent8ae60b3b0d0edf7639b1538cf8490c81f8c6d86e (diff)
swaync: add notification sound
Diffstat (limited to '.config/swaync/config.json')
-rw-r--r--.config/swaync/config.json71
1 files changed, 71 insertions, 0 deletions
diff --git a/.config/swaync/config.json b/.config/swaync/config.json
new file mode 100644
index 0000000..d63164b
--- /dev/null
+++ b/.config/swaync/config.json
@@ -0,0 +1,71 @@
+{
+ "$schema": "/etc/xdg/swaync/configSchema.json",
+
+ "positionX": "right",
+ "positionY": "top",
+ "control-center-positionX": "none",
+ "control-center-positionY": "none",
+ "control-center-margin-top": 8,
+ "control-center-margin-bottom": 8,
+ "control-center-margin-right": 8,
+ "control-center-margin-left": 8,
+ "control-center-width": 500,
+ "control-center-height": -1,
+ "fit-to-screen": false,
+ "layer-shell-cover-screen": true,
+
+ "layer-shell": true,
+ "layer": "overlay",
+ "control-center-layer": "overlay",
+ "cssPriority": "user",
+ "notification-body-image-height": 100,
+ "notification-body-image-width": 200,
+ "notification-inline-replies": true,
+ "timeout": 10,
+ "timeout-low": 5,
+ "timeout-critical": 0,
+ "notification-window-width": 500,
+ "keyboard-shortcuts": true,
+ "image-visibility": "always",
+ "transition-time": 200,
+ "hide-on-clear": true,
+ "hide-on-action": true,
+ "script-fail-notify": true,
+ "scripts": {
+ "sound-script": {
+ "exec": "bash /home/krolyxon/.config/swaync/notification-sound.sh",
+ "app-name": ".*"
+ }
+ },
+ "widgets": [
+ "inhibitors",
+ "dnd",
+ "mpris",
+ "notifications"
+ ],
+ "widget-config": {
+ "notifications": {
+ "vexpand": false
+ },
+ "inhibitors": {
+ "text": "Inhibitors",
+ "button-text": "Clear All",
+ "clear-all-button": true
+ },
+ "title": {
+ "text": "Notifications",
+ "clear-all-button": false,
+ "button-text": "Clear All"
+ },
+ "dnd": {
+ "text": "Do Not Disturb"
+ },
+ "label": {
+ "max-lines": 5,
+ "text": "Label Text"
+ },
+ "mpris": {
+ "autohide": true
+ }
+ }
+}