nixos-configs/config/swaync/config.json

104 lines
2.3 KiB
JSON

{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"control-center-positionX": "none",
"control-center-positionY": "none",
"control-center-margin-top": 8,
"control-center-margin-bottom": 8,
"control-center-margin-right": 8,
"control-center-margin-left": 8,
"control-center-width": 500,
"control-center-height": 1000,
"fit-to-screen": false,
"layer": "top",
"control-center-layer": "overlay",
"cssPriority": "user",
"notification-icon-size": 64,
"notification-body-image-height": 300,
"notification-body-image-width": 200,
"notification-inline-replies": true,
"timeout": 10,
"timeout-low": 5,
"timeout-critical": 0,
"notification-window-width": 500,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": true,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"label",
"buttons-grid",
"backlight",
"volume",
"mpris",
"title",
"inhibitors",
"dnd",
"notifications"
],
"widget-config": {
"backlight": {
"label": "󰃟 ",
"device": "amdgpu_bl0",
"min": 10
},
"volume": {
"label": "󰕾 "
},
"inhibitors": {
"text": "Inhibitors",
"button-text": "Clear All",
"clear-all-button": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 5,
"text": "Control Center"
},
"mpris": {
"image-size": 96,
"image-radius": 12
},
"buttons-grid": {
"actions": [
{
"label": "󰖩 ",
"command": "nm-connection-editor &"
},
{
"label": "󰂯",
"command": "blueberry &"
},
{
"label": "󰌾",
"command": "$HOME/.config/gtklock/scripts/lock.sh"
},
{
"label": "󰕾",
"command": "pavucontrol"
},
{
"label": "󰍬",
"command": "swayosd --input-volume mute-toggle"
},
{
"label": "󰍃",
"command": "swaync-client -cp; sleep 0.9; eww open closer; $EWW_PATH/open.sh powermenu"
}
]
}
}
}