Files
dotfiles/dotfiles/.config/swaync/config.json

81 lines
2.0 KiB
JSON
Executable File

{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "left",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "user",
"control-center-margin-top": 5,
"control-center-margin-bottom": 0,
"control-center-margin-right": 8,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-icon-size": 34,
"notification-body-image-height": 300,
"notification-body-image-width": 300,
"notification-window-width": 350,
"timeout": 6,
"timeout-low": 3,
"timeout-critical": 3,
"fit-to-screen": false,
"control-center-width": 330,
"control-center-height": 900,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": ["dnd", "buttons-grid", "mpris", "title", "notifications"],
"widget-config": {
"title": {
"text": " Notifications",
"clear-all-button": true,
"button-text": " Clear"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 1,
"text": "Notification"
},
"mpris": {
"image-size": 60,
"image-radius": 0
},
"volume": {
"label": "󰕾"
},
"backlight": {
"label": "󰃟"
},
"buttons-grid": {
"actions": [
{
"label": "󰐥",
"command": "bash -c $HOME/.config/rofi/powermenu/type-2/powermenu.sh"
},
{
"label": "󰌾",
"command": "loginctl lock-session"
},
{
"label": "󰍃",
"command": "hyprctl dispatch 'hl.dsp.exit()'"
},
{
"label": "󰀝",
"command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh"
},
{
"label": "󰝟",
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
}
]
}
}
}