163 lines
3.6 KiB
JSON
163 lines
3.6 KiB
JSON
{
|
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
|
"positionX": "right",
|
|
"positionY": "top",
|
|
"control-center-margin-top": 8,
|
|
"control-center-margin-bottom": 8,
|
|
"control-center-margin-right": 6,
|
|
"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,
|
|
"control-center-height": 800,
|
|
"control-center-width": 380,
|
|
"notification-window-width": 366,
|
|
"keyboard-shortcuts": true,
|
|
"image-visibility": "when-available",
|
|
"transition-time": 100,
|
|
"hide-on-clear": false,
|
|
"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",
|
|
"menubar",
|
|
"buttons-grid",
|
|
"volume",
|
|
"backlight",
|
|
"mpris",
|
|
"dnd",
|
|
"notifications"
|
|
],
|
|
"widget-config": {
|
|
"title": {
|
|
"text": "Notifications",
|
|
"clear-all-button": true,
|
|
"button-text": "Clear All"
|
|
},
|
|
"dnd": {
|
|
"text": "Do Not Disturb"
|
|
},
|
|
"label": {
|
|
"max-lines": 1,
|
|
"text": "AirClay"
|
|
},
|
|
"mpris": {
|
|
"image-size": 96,
|
|
"image-radius": 6
|
|
},
|
|
"backlight": {
|
|
"label": "",
|
|
"device": "intel_backlight",
|
|
"min": 10
|
|
},
|
|
"backlight#KB": {
|
|
"label": " ",
|
|
"device": "phy0-led",
|
|
"subsystem": "leds"
|
|
},
|
|
"volume": {
|
|
"label": ""
|
|
},
|
|
"menubar": {
|
|
"menu#power-buttons": {
|
|
"label": "",
|
|
"position": "right",
|
|
"actions": [
|
|
{
|
|
"label": " Reboot",
|
|
"command": "systemctl reboot"
|
|
},
|
|
{
|
|
"label": " Lock",
|
|
"command": "kitty -e donut"
|
|
},
|
|
{
|
|
"label": " Logout",
|
|
"command": "kitty -e hypr-logout"
|
|
},
|
|
{
|
|
"label": " Shut down",
|
|
"command": "systemctl poweroff"
|
|
}
|
|
]
|
|
},
|
|
"menu#powermode-buttons": {
|
|
"label": "",
|
|
"position": "right",
|
|
"actions": [
|
|
{
|
|
"label": "Performance",
|
|
"command": "powerprofilesctl set performance"
|
|
},
|
|
{
|
|
"label": "Balanced",
|
|
"command": "powerprofilesctl set balanced"
|
|
},
|
|
{
|
|
"label": "Power-saver",
|
|
"command": "powerprofilesctl set power-saver"
|
|
}
|
|
]
|
|
},
|
|
"menu#screenshot-buttons": {
|
|
"label": "",
|
|
"position": "left",
|
|
"actions": [
|
|
{
|
|
"label": " Open screenshot menu",
|
|
"command": "swaync-client -cp &&&& hyprland-interactive-screenshot"
|
|
},
|
|
{
|
|
"label": " Open screenshot folder",
|
|
"command": "swaync-client -cp &&&& thunar /home/ez"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"buttons-grid": {
|
|
"actions": [
|
|
{
|
|
"label": "",
|
|
"command": "wofi-wifi-menu"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "wofi-bluetooth"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "nwg-look"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "thunar"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "kitty -e fpf -U"
|
|
},
|
|
{
|
|
"label": "",
|
|
"command": "firefox"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|