From 31595655896df17ee12a540511710f58e210d438 Mon Sep 17 00:00:00 2001 From: andrey_varnavskiy Date: Sat, 14 Dec 2024 13:52:22 +0500 Subject: [PATCH] bro... --- home-manager/modules/swaync/default.nix | 25 ++++++++++++++++++++++--- home-manager/modules/swaync/swaync.nix | 24 ------------------------ 2 files changed, 22 insertions(+), 27 deletions(-) delete mode 100644 home-manager/modules/swaync/swaync.nix diff --git a/home-manager/modules/swaync/default.nix b/home-manager/modules/swaync/default.nix index 5072cdf..a9e748a 100644 --- a/home-manager/modules/swaync/default.nix +++ b/home-manager/modules/swaync/default.nix @@ -1,5 +1,24 @@ { - imports = [ - ./swaync.nix - ]; + services.swaync = { + enable = true; + 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; + }; + }; + + home.file.".config/swaync/style.css".source = ./style.css; } diff --git a/home-manager/modules/swaync/swaync.nix b/home-manager/modules/swaync/swaync.nix deleted file mode 100644 index a9e748a..0000000 --- a/home-manager/modules/swaync/swaync.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - services.swaync = { - enable = true; - 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; - }; - }; - - home.file.".config/swaync/style.css".source = ./style.css; -}