Files
dotfiles/swaync/config.json
T
2024-09-12 11:40:09 +07:00

88 lines
2.4 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-width": 350,
"control-center-height": 700,
"control-center-margin-top": 1,
"control-center-margin-bottom": 2,
"control-center-margin-right": 1,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": true,
"notification-window-width": 350,
"notification-icon-size": 50,
"notification-body-image-height": 140,
"notification-body-image-width": 180,
"timeout": 6,
"timeout-low": 3,
"timeout-critical": 0,
"fit-to-screen": false,
"keyboard-shortcuts": true,
"image-visibility": "when available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"title",
"mpris",
"volume",
"backlight",
"notifications"
],
"widget-config": {
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear"
},
"dnd": {
"text": " "
},
"label": {
"max-lines":2,
"text": "Notification"
},
"mpris": {
"image-size": 60,
"image-radius": 10
},
"volume": {
"label": "󰕾"
},
"backlight": {
"label": "󰃟"
},
"buttons-grid": {
"actions": [
{
"label": " Wi-FI",
"command": "nm-connection-editor"
},
{
"label": "󰕾 Mute",
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
},
{
"label": "󰂯 Bluetooth",
"command": "blueman-manager"
},
{
"label": " Theme",
"command":"/home/alien/.config/hypr/scripts/themechanging"
}
]
}
}
}