imporved fzf dayview info

This commit is contained in:
Ämin Baumeler 2025-06-10 13:28:11 +02:00
parent f85e766a5a
commit 6e2df59c93

View File

@ -332,7 +332,6 @@ fi
if [ "${1:-}" = "--day" ]; then
DISPLAY_DATE="$2"
echo "Jumping to day $DISPLAY_DATE!"
selection=$(
__show_day |
$FZF \
@ -342,7 +341,7 @@ if [ "${1:-}" = "--day" ]; then
--no-input \
--margin='20%' \
--border='double' \
--border-label="🗓️ $(date -d "$DISPLAY_DATE" +"%a %e %b %Y")" \
--border-label="🗓️ $(date -d "$DISPLAY_DATE" +"%A %e %B %Y")" \
--color=label:bold:green \
--border-label-pos=3 \
--delimiter='|' \
@ -367,7 +366,6 @@ fi
if [ "${1:-}" = "--date" ]; then
DISPLAY_DATE="$2"
echo "Jumping to date $2!"
fi
DISPLAY_DATE=${DISPLAY_DATE:-today}
DISPLAY_DATE=$(date -d "$DISPLAY_DATE" +"%D")