From f32d77f7ff34319499c9dae71dd7e7ad60ab7830 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 9 Oct 2024 23:35:49 +0200 Subject: [PATCH] rice change --- flake-modules/rice.nix | 2 +- home-modules/wallpaper-to-colors.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake-modules/rice.nix b/flake-modules/rice.nix index 2641551..66cb5ea 100644 --- a/flake-modules/rice.nix +++ b/flake-modules/rice.nix @@ -2,7 +2,7 @@ pkgs: rec { lib = import ../nxlib/ricelib.nix pkgs.lib; - transparency = 0.9; + transparency = 0.8; rounding = 10; gap-size = 10; border-width = 3; diff --git a/home-modules/wallpaper-to-colors.nix b/home-modules/wallpaper-to-colors.nix index ef5220d..aee8831 100644 --- a/home-modules/wallpaper-to-colors.nix +++ b/home-modules/wallpaper-to-colors.nix @@ -68,7 +68,7 @@ class Palette: def ensure_color(c: Color, alter_sat: bool) -> list[int]: hue, lum, sat = c.hls if alter_sat: - new_sat = min(sat**0.5, 1) + new_sat = min((sat**0.5) + 0.4, 1) else: new_sat = sat new_lum = max(lum, 0.5)