From 85bc980e12f5fccfadf0afd31611858338a1d036 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 11 Jan 2025 11:52:13 -0600 Subject: [PATCH] swaync: remove width scaling Signed-off-by: Myned --- options/custom/services/swaync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/options/custom/services/swaync/default.nix b/options/custom/services/swaync/default.nix index d5c15fc..287d105 100644 --- a/options/custom/services/swaync/default.nix +++ b/options/custom/services/swaync/default.nix @@ -40,15 +40,15 @@ in { # https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json settings = { - control-center-height = builtins.floor (config.custom.height / 2); + control-center-height = builtins.floor (config.custom.height * 0.75); # 75% control-center-positionY = "bottom"; - control-center-width = builtins.floor (750 * config.custom.scale); + control-center-width = 750; fit-to-screen = false; hide-on-clear = true; notification-2fa-action = false; notification-icon-size = 32; #// notification-inline-replies = true; - notification-window-width = builtins.floor (500 * config.custom.scale); + notification-window-width = 500; positionX = "center"; positionY = "top"; timeout = 5; # normal