aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-10-16 10:24:23 +0200
committerschererleander <leander@schererleander.de>2025-10-16 10:24:42 +0200
commit649fac6b1b27139dbb83668340ca3351862bb7a0 (patch)
treec16c62e90b25bf993d10fe5aeb67ec562614ae45 /modules
parent4f720b158a1e7b870921730036f09e5cf6c71e69 (diff)
feat: update remove_bg function
Diffstat (limited to 'modules')
-rw-r--r--modules/home-manager/zsh.nix8
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"
}