Added margin for --new

This commit is contained in:
2025-05-22 11:20:35 +02:00
parent d840828642
commit 1a335333fa

View File

@@ -293,7 +293,9 @@ if [ "${1:-}" = "--delete" ]; then
fi
# Generate new entry
if [ "${1:-}" = "--new" ]; then
label_new=$(echo "$LABLES" | fzf --prompt="Select collection> ")
label_new=$(echo "$LABLES" | fzf \
--margin 20% \
--prompt="Select collection> ")
uuid_new=$(uuidgen)
vjfile_new=$(__filepath_from_selection "$label_new $uuid_new.ics")
if [ -f "$vjfile_new" ]; then