88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
{
|
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
|
"positionX": "right",
|
|
"positionY": "top",
|
|
"control-center-margin-top": 2,
|
|
"control-center-margin-bottom": 2,
|
|
"control-center-margin-right": 1,
|
|
"control-center-margin-left": 0,
|
|
"notification-icon-size": 48,
|
|
"notification-body-image-height": 160,
|
|
"notification-body-image-width": 200,
|
|
"timeout": 6,
|
|
"timeout-low": 4,
|
|
"timeout-critical": 0,
|
|
"fit-to-screen": false,
|
|
"control-center-width": 380,
|
|
"control-center-height": 860,
|
|
"notification-window-width": 400,
|
|
"keyboard-shortcuts": true,
|
|
"image-visibility": "when-available",
|
|
"transition-time": 200,
|
|
"hide-on-clear": true,
|
|
"hide-on-action": true,
|
|
"script-fail-notify": true,
|
|
"scripts": {
|
|
"example-script": {
|
|
"exec": "echo 'Do something...'",
|
|
"urgency": "Normal"
|
|
}
|
|
},
|
|
"notification-visibility": {
|
|
"example-name": {
|
|
"state": "muted",
|
|
"urgency": "Low",
|
|
"app-name": "Spotify"
|
|
}
|
|
},
|
|
"widgets": [
|
|
"label",
|
|
"buttons-grid",
|
|
"mpris",
|
|
"title",
|
|
"dnd",
|
|
"notifications"
|
|
],
|
|
"widget-config": {
|
|
"title": {
|
|
"text": "Notifications",
|
|
"clear-all-button": true,
|
|
"button-text": " "
|
|
},
|
|
"dnd": {
|
|
"text": "Do not disturb"
|
|
},
|
|
"label": {
|
|
"max-lines": 1,
|
|
"text": " Notifications"
|
|
},
|
|
"mpris": {
|
|
"image-size": 96,
|
|
"image-radius": 6
|
|
},
|
|
"volume": {
|
|
"label": "",
|
|
"show-per-app": true
|
|
},
|
|
"buttons-grid": {
|
|
"actions": [
|
|
{
|
|
"label": "",
|
|
"command": "amixer set Master toggle"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "amixer set Capture toggle"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "nm-connection-editor"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "blueman-manager"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|