From 97f33c7b8dbd26293a0ba2e4120e03a999b8c4a3 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 30 Oct 2024 00:55:16 +0100 Subject: [PATCH] diffrent rice --- flake-modules/rice.nix | 6 +++--- home-modules/hyprland.nix | 3 ++- home-modules/wallpaper-to-colors.nix | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake-modules/rice.nix b/flake-modules/rice.nix index 66cb5ea..30cd6f7 100644 --- a/flake-modules/rice.nix +++ b/flake-modules/rice.nix @@ -3,9 +3,9 @@ pkgs: rec { lib = import ../nxlib/ricelib.nix pkgs.lib; transparency = 0.8; - rounding = 10; - gap-size = 10; - border-width = 3; + rounding = 3; + gap-size = 5; + border-width = 2; color = let dark = (-0.5); diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index 5e9661f..18b78f7 100755 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -230,7 +230,7 @@ lib.mkIf (user != "tv") dwindle = { preserve_split = true; # you probably want this - no_gaps_when_only = false; + no_gaps_when_only = true; }; # master = { @@ -332,6 +332,7 @@ lib.mkIf (user != "tv") "SUPER, F5, exec, nx_gcal_event force-lookup" "SUPER SHIFT, F5, exec, nx_gcal_event reauthenticate" "SUPER, F6, exec, kitty -e 'htop'" + "SUPER, F7, exec, kitty -e 'nmtui'" ''SUPER, F8, exec, find ~/Pictures/wallpapers/* -type f -not -path "~/Pictures/wallpapers/.git/*" | sort -R | head -n 1 | xargs swww img --transition-type wipe --transition-angle 60 --transition-step 120 --transition-fps 120'' ''SUPER, F9, exec, kitty -e sh -c 'change_colors_json $(swww query | sed -n 1p | sed -e "s-.*image: --g") && nh home switch && firefox /home/${user}/.config/color-pallete.html' '' ''SUPER SHIFT, F9, exec, firefox /home/${user}/.config/color-pallete.html '' diff --git a/home-modules/wallpaper-to-colors.nix b/home-modules/wallpaper-to-colors.nix index aee8831..414e66d 100644 --- a/home-modules/wallpaper-to-colors.nix +++ b/home-modules/wallpaper-to-colors.nix @@ -123,7 +123,7 @@ if __name__ == "__main__": accent = ensure_color(c=palette[0], alter_sat=False) secondary = ensure_color(c=palette[1], alter_sat=True) tertiary = ensure_color(c=palette[2], alter_sat=False) - weird = alter_hue(ilist=secondary, hue=180) + weird = alter_hue(ilist=accent, hue=80) special = alter_hue(ilist=accent, hue=180) foreground = alter_l(accent, 0.9) background = alter_l(accent, 0.1)