108 lines
2.5 KiB
JSON
108 lines
2.5 KiB
JSON
{
|
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
|
"positionX": "right",
|
|
"positionY": "top",
|
|
"layer": "overlay",
|
|
"control-center-layer": "overlay",
|
|
"layer-shell": true,
|
|
"cssPriority": "application",
|
|
"control-center-margin-top": 0,
|
|
"control-center-margin-bottom": 0,
|
|
"control-center-margin-right": 0,
|
|
"control-center-margin-left": 0,
|
|
"notification-2fa-action": true,
|
|
"notification-inline-replies": false,
|
|
"notification-icon-size": 64,
|
|
"notification-body-image-height": 100,
|
|
"notification-body-image-width": 200,
|
|
"timeout": 5,
|
|
"timeout-low": 3,
|
|
"timeout-critical": 0,
|
|
"fit-to-screen": true,
|
|
"relative-timestamps": true,
|
|
"control-center-width": 500,
|
|
"control-center-height": 600,
|
|
"notification-window-width": 500,
|
|
"keyboard-shortcuts": true,
|
|
"image-visibility": "when-available",
|
|
"transition-time": 120,
|
|
"hide-on-clear": false,
|
|
"hide-on-action": true,
|
|
"script-fail-notify": true,
|
|
"scripts": {
|
|
"example-script": {
|
|
"exec": "echo 'Do something...'",
|
|
"urgency": "Normal"
|
|
},
|
|
"example-action-script": {
|
|
"exec": "echo 'Do something actionable!'",
|
|
"urgency": "Normal",
|
|
"run-on": "action"
|
|
}
|
|
},
|
|
"notification-visibility": {
|
|
"spotify": {
|
|
"state": "muted",
|
|
"urgency": "Low",
|
|
"app-name": "Spotify"
|
|
}
|
|
},
|
|
"widgets": [
|
|
"title",
|
|
"volume",
|
|
"backlight",
|
|
"buttons-grid",
|
|
"mpris",
|
|
"inhibitors",
|
|
"notifications"
|
|
],
|
|
"widget-config": {
|
|
"title": {
|
|
"text": "Control Center",
|
|
"clear-all-button": false
|
|
},
|
|
"inhibitors": {
|
|
"text": "Inhibitors"
|
|
},
|
|
"dnd": {
|
|
"text": "Do Not Disturb"
|
|
},
|
|
"label": {
|
|
"max-lines": 5,
|
|
"text": "Label Text"
|
|
},
|
|
"mpris": {
|
|
"image-size": 96,
|
|
"image-radius": 16,
|
|
"blur": true
|
|
},
|
|
"volume": {
|
|
"label": "",
|
|
"collapse-button-label": "⇩"
|
|
},
|
|
"backlight": {
|
|
"label": ""
|
|
},
|
|
"buttons-grid": {
|
|
"actions": [
|
|
{
|
|
"label": " Power Menu",
|
|
"type": "normal",
|
|
"command": "wlogout -b 4"
|
|
},
|
|
{
|
|
"label": " Do Not Disturb",
|
|
"type": "toggle",
|
|
"command": "swaync-client -d",
|
|
"update-command": "swaync-client -D"
|
|
},
|
|
{
|
|
"label": "Change Wallpaper",
|
|
"type": "normal",
|
|
"command": "bash -c '$(swaync-client -cp; bash $HOME/.config/hypr/scripts/change-wallpaper.sh)'"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|