dotfiles/dot_config/swaync/config.json

178 lines
4 KiB
JSON
Raw Normal View History

2023-06-12 11:58:44 +02:00
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "application",
2023-06-12 17:40:58 +02:00
"control-center-margin-top": 10,
"control-center-margin-bottom": 10,
"control-center-margin-right": 10,
2023-06-12 11:58:44 +02:00
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-icon-size": 64,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"timeout": 10,
"timeout-low": 5,
"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": {
2023-06-28 12:05:32 +02:00
"dialog-script": {
"exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-information.oga",
2023-06-12 11:58:44 +02:00
"urgency": "Normal"
},
2023-06-28 12:05:32 +02:00
"dialog-critical-script": {
"exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-error.oga",
"urgency": "Critical"
},
2023-06-12 11:58:44 +02:00
"example-action-script": {
"exec": "echo 'Do something actionable!'",
"urgency": "Normal",
"run-on": "action"
}
},
"notification-visibility": {
"example-name": {
"state": "muted",
"urgency": "Low",
"app-name": "Spotify"
}
},
"widgets": [
2023-06-12 17:40:58 +02:00
"menubar#label",
"buttons-grid",
"backlight",
"volume",
"mpris",
2023-06-12 11:58:44 +02:00
"title",
"dnd",
"notifications"
],
"widget-config": {
"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": "Label Text"
},
"mpris": {
"image-size": 96,
"image-radius": 12
2023-06-12 17:40:58 +02:00
},
"backlight": {
"label": "󰖙",
"device": "intel_backlight",
"min": 10
},
"volume": {
"label": "󰕾"
},
"menubar#label": {
"menu#power-buttons": {
"label": "",
"position": "right",
"actions": [
{
"label": " Reboot",
"command": "systemctl reboot"
},
{
"label": " Lock",
"command": "swaylock"
},
{
"label": " Logout",
"command": "swaymsg exit"
},
{
"label": " Shut down",
"command": "systemctl poweroff"
}
]
},
"menu#powermode-buttons": {
"label": "",
"position": "left",
"actions": [
{
"label": "Performance",
"command": "powerprofilesctl set performance"
},
{
"label": "Balanced",
"command": "powerprofilesctl set balanced"
},
{
"label": "Power-saver",
"command": "powerprofilesctl set power-saver"
}
]
},
"buttons#topbar-buttons": {
"position": "left",
"actions": [
{
"label": "",
"command": "grim"
}
]
}
},
"buttons-grid": {
"actions": [
{
"label": "",
"command": "wezterm"
},
{
"label": "",
"command": "chromium"
},
{
"label": "󰺻",
"command": "thunderbird"
},
{
"label": "",
"command": "wezterm start khal interactive"
},
{
"label": "󰛳",
"command": "nm-connection-editor"
},
{
"label": "󱋆",
"command": "wdisplays"
},
{
"label": "󱑢",
"command": "xdg-open Downloads"
}
]
2023-06-12 11:58:44 +02:00
}
}
}