never going ro try niri again for sure

This commit is contained in:
2025-09-30 16:43:59 +02:00
parent 012ff152c6
commit 0711646e38
7 changed files with 17 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ ext=${image##*.}
current_dir="$HOME/.config/wallpaper-chooser/current"
image_copied="$current_dir/wallpaper.$ext"
temp_img=$(mktemp --suffix=.$ext) || exit 1
temp_img=$(mktemp --suffix=."$ext") || exit 1
cp "$image" "$temp_img" || exit 1
rm -f "$current_dir"/wallpaper.*
cp -f "$temp_img" "$image_copied" || (