diff --git a/modules/home/niri.nix b/modules/home/niri.nix index 1a02a0f..b41da6b 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -71,13 +71,13 @@ in width = 2560; height = 1600; }; - background-color = "#000000"; + background-color = strPalette.normal.background; scale = 1; variable-refresh-rate = true; }; "HDMI-A-1" = { - background-color = "#000000"; + background-color = strPalette.normal.background; scale = 1; }; @@ -86,7 +86,7 @@ in width = 3840; height = 2160; }; - background-color = "#000000"; + background-color = strPalette.normal.background; scale = 1; }; }; @@ -130,10 +130,9 @@ in focus-ring = { enable = true; - active.color = - with pkgs.rice.colorPalette.normal.border; + active.color = with pkgs.rice.colorPalette.normal.border; "rgba(${toString r} ${toString g} ${toString b} ${toString a})"; - width = 2; + width = pkgs.rice.border-width; }; border = { @@ -141,13 +140,17 @@ in inactive = { gradient = { from = "#333333"; - to = "#000000"; + to = "#111111"; angle = 180; in' = "srgb-linear"; }; }; active.color = "#000"; - width = 2; + width = pkgs.rice.border-width + 1; + }; + + shadow = { + enable = true; }; }; diff --git a/overlays/rice.nix b/overlays/rice.nix index 8e1da9f..0176b27 100644 --- a/overlays/rice.nix +++ b/overlays/rice.nix @@ -7,9 +7,9 @@ in { normal = palette.defaultPalette // { background = { a = 1.0; - r = 5; - g = 5; - b = 5; + r = 0; + g = 0; + b = 0; }; black = theme.color0; red = theme.color1; @@ -25,7 +25,7 @@ in { cyan = theme.color6; white = theme.color7; border = { - a = 0.5; + a = 0.75; r = 198; g = 120; b = 221; @@ -34,9 +34,9 @@ in { bright = palette.brighten 10 normal // { background = { a = 1.0; - r = 17; - g = 17; - b = 17; + r = 5; + g = 5; + b = 5; }; black = theme.color8; red = theme.color9; @@ -71,5 +71,6 @@ in { name = "Bibata-Modern-Classic"; }; corner-radius = 8.0; + border-width = 2; }; }