From 649fac6b1b27139dbb83668340ca3351862bb7a0 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 16 Oct 2025 10:24:23 +0200 Subject: feat: update remove_bg function --- modules/home-manager/zsh.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index cc80699..3e91058 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -37,10 +37,10 @@ local transparent_color=$3 local output_file=$4 - magick "$input_file" \ - -fuzz "$fuzz" -transparent "$transparent_color" \ - -blur 0x1 \ - "$output_file" + magick "$input_file" \ + -fuzz 12% -transparent "$transparent_color" \ + -alpha on -channel A -blur 0x2 -level 5%,100% +channel \ + "$output_file" echo "Saved transparent image to: $output_file" } -- cgit v1.3.1