From 3b7cb68189ec46d31eb36088429e06c5029ab8ce Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 26 Nov 2024 15:44:05 +0100 Subject: [PATCH] home/services/swaync: add base settings --- home/services/swaync/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/home/services/swaync/default.nix b/home/services/swaync/default.nix index b0d3cff..aab28b4 100644 --- a/home/services/swaync/default.nix +++ b/home/services/swaync/default.nix @@ -14,6 +14,23 @@ in { style = optionalString osConfig.theme.enable generateGtkColors lib palette + 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.Unit.ConditionEnvironment = lib.mkForce "";