home/services/swaync: add base settings

This commit is contained in:
Anthony Rodriguez 2024-11-26 15:44:05 +01:00
parent b1e6fe4407
commit 3b7cb68189
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -14,6 +14,23 @@ in {
style = style =
optionalString osConfig.theme.enable generateGtkColors lib palette optionalString osConfig.theme.enable generateGtkColors lib palette
+ readFile ./style.css; + readFile ./style.css;
settings = {
positionX = "right";
positionY = "top";
layer = "overlay";
control-center-layer = "top";
layer-shell = true;
cssPriority = "application";
control-center-margin-top = 0;
control-center-margin-bottom = 0;
control-center-margin-right = 0;
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;
};
}; };
# systemd.user.services.swaync.Service.Environment = "WAYLAND_DISPLAY=wayland-1"; # systemd.user.services.swaync.Service.Environment = "WAYLAND_DISPLAY=wayland-1";
systemd.user.services.swaync.Unit.ConditionEnvironment = lib.mkForce ""; systemd.user.services.swaync.Unit.ConditionEnvironment = lib.mkForce "";