1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00
Files
nixos-config-reborn/home-manager/modules/swaync/default.nix
andrey_varnavskiy dcd90c497e some tweaks
2024-12-16 04:42:44 +05:00

43 lines
911 B
Nix

{
services.swaync = {
enable = true;
settings = {
positionX = "right";
positionY = "top";
control-center-radius = 1;
fit-to-screen = true;
layer-shell = true;
layer = "overlay";
control-center-layer = "overlay";
cssPriority = "user";
notification-icon-size = 64;
notification-body-image-height = 100;
notification-body-image-width = 200;
timeout = 10;
timeout-low = 5;
timeout-critical = 0;
widgets = [
"inhibitors"
"dnd"
"mpris"
"notifications"
];
widget-config = {
title = {
text = "Notifications";
clear-all-button = true;
button-text = "Clear All";
};
dnd = {
text = "Do Not Disturb";
};
mpris = {
image-size = 96;
blur = true;
};
};
};
};
}