{ "$schema": "/etc/xdg/swaync/configSchema.json", "positionX": "right", "positionY": "top", "layer": "overlay", "control-center-layer": "top", "layer-shell": true, "cssPriority": "application", "control-center-margin-top": 16, "control-center-margin-bottom": 16, "control-center-margin-right": 8, "control-center-margin-left": 8, "notification-icon-size": 64, "notification-body-image-height": 100, "notification-body-image-width": 200, "timeout": 5, "timeout-low": 2, "timeout-critical": 0, "fit-to-screen": true, "control-center-width": 500, "control-center-height": 600, "notification-window-width": 500, "keyboard-shortcuts": true, "image-visibility": "when-available", "transition-time": 200, "hide-on-clear": false, "hide-on-action": true, "script-fail-notify": true, "scripts": { "example-script": { "exec": "echo 'Do something...'", "urgency": "Normal" } }, "widgets": [ "dnd", "title", "notifications", "mpris", "volume", "backlight", "buttons-grid" ], "widget-config": { "title": { "text": "Notifications", "clear-all-button": true, "button-text": "Clear All" }, "dnd": { "text": "Do Not Disturb" }, "label": { "max-lines": 1, "text": "Notification Center" }, "mpris": { "image-size": 128, "image-radius": 20 }, "volume": { "label": "󰕾 " }, "backlight": { "label": "󰃟 " }, "buttons-grid": { "actions": [ { "label": "󰐥", "command": "systemctl poweroff" }, { "label": "󰜉", "command": "systemctl reboot" }, { "label": "󰏥", "command": "systemctl suspend" }, { "label": "󰌾", "command": "hyprlock" }, { "label": "󰕾", "type": "toggle", "active": false, "command": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" }, { "label": "󰍬", "type": "toggle", "active": false, "command": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" }, { "label": "󰏘", "command": "kitty --class hyprpicker --hold -e hyprpicker" }, { "label": "", "type": "toggle", "active": false, "command": "~/.config/scripts/screenrec.sh" }, { "label": "", "command": "~/.config/scripts/screenprint.sh" }, { "label": "󰤨", "type": "toggle", "active": false, "command": "~/.config/scripts/wifi-bt.sh wifi" }, { "label": "󰂯", "type": "toggle", "active": false, "command": "~/.config/scripts/wifi-bt.sh bt" }, { "label": "✨", "command": "~/.local/bin/hyprshade-auto.sh" }, { "label": "󰃟 ", "command": "~/.config/scripts/brightness_mode.sh" }, { "label": "󰒲 ", "command": "~/.config/blacklayer/call-blacklayer.sh" }, { "label": "󰊴", "command": "~/.config/scripts/gamemode.sh" } ] } } }