58 lines
1.4 KiB
Nix
58 lines
1.4 KiB
Nix
_: {
|
|
services.swaync = {
|
|
enable = true;
|
|
settings = {
|
|
"positionX" = "right";
|
|
"positionY" = "top";
|
|
"control-center-margin-top" = 20;
|
|
"control-center-margin-bottom" = 0;
|
|
"control-center-margin-right" = 20;
|
|
"control-center-margin-left" = 0;
|
|
"control-center-width" = 500;
|
|
"control-center-height" = 600;
|
|
"fit-to-screen" = false;
|
|
|
|
"layer" = "top";
|
|
"cssPriority" = "user";
|
|
"notification-icon-size" = 64;
|
|
"notification-body-image-height" = 100;
|
|
"notification-body-image-width" = 200;
|
|
"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" = [
|
|
"title"
|
|
"dnd"
|
|
"mpris"
|
|
"notifications"
|
|
];
|
|
"widget-config" = {
|
|
"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;
|
|
};
|
|
};
|
|
};
|
|
style = ./style.css;
|
|
};
|
|
}
|