Added margin for --new
This commit is contained in:
@@ -293,7 +293,9 @@ if [ "${1:-}" = "--delete" ]; then
|
|||||||
fi
|
fi
|
||||||
# Generate new entry
|
# Generate new entry
|
||||||
if [ "${1:-}" = "--new" ]; then
|
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)
|
uuid_new=$(uuidgen)
|
||||||
vjfile_new=$(__filepath_from_selection "$label_new $uuid_new.ics")
|
vjfile_new=$(__filepath_from_selection "$label_new $uuid_new.ics")
|
||||||
if [ -f "$vjfile_new" ]; then
|
if [ -f "$vjfile_new" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user