127 lines
2.8 KiB
JSON
127 lines
2.8 KiB
JSON
{
|
|
"$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": "hyprpicker"
|
|
},
|
|
{
|
|
"label": "",
|
|
"type": "toggle",
|
|
"active": false,
|
|
"command": "~/.config/scripts/screenrec.sh"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "~/.config/scripts/screenprint.sh"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": ""
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "/home/luka/.config/hypr/scripts/AirplaneMode.sh"
|
|
},
|
|
{
|
|
"label": " ",
|
|
"command": ""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|