diff options
| author | schererleander <leander@schererleander.de> | 2025-10-16 10:24:23 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-10-16 10:24:42 +0200 |
| commit | 649fac6b1b27139dbb83668340ca3351862bb7a0 (patch) | |
| tree | c16c62e90b25bf993d10fe5aeb67ec562614ae45 /modules/home-manager | |
| parent | 4f720b158a1e7b870921730036f09e5cf6c71e69 (diff) | |
feat: update remove_bg function
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/zsh.nix | 8 |
1 files 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" } |
