Update 2024-12-08 17:45 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2024-12-08 17:45:44 +01:00
parent 0e4f11ee5a
commit f652704039
3 changed files with 11 additions and 4 deletions

View File

@@ -16,6 +16,12 @@ upload_to_paste() {
| xclip -selection clipboard
}
pick_image() {
mkdir -p $HOME/pick
printf '%s\n' "Copy $1 to $HOME/pick/"
cp -v "${1%.*}."* "$HOME/pick/"
}
save_image() {
if [ -z "$SXIVDIR" ]
then
@@ -114,6 +120,7 @@ do
"s") save_image "$file" ;;
"q") remove_set "$file" ;;
"x") texec "website-add-image-to-gallery \"$file\"" ;;
"y") pick_image "$file" ;;
"k") keep "$file" ;;
esac
done