You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following allows you quickly to add an entry to the calendar about the past activity
selected_calendar=$(khal printcalendars| tac | fzf -1 --prompt 'Calendar > ')echo"$selected_calendar"iftest -z "$selected_calendar";thenexit 1
fi
frequent_summaries="<put your the most frequent activities here>"# frequent_summaries="Arbeit# Work# Trabajo# Работа# Praca# მუშაობა"
selected_summary=$(echo "$frequent_summaries"| fzf -1 --prompt 'Summary > ')iftest -z "$selected_summary";thenread -ep "Input summary: " selected_summary
fiiftest -z "$selected_summary";thenexit 2
fiecho"$selected_summary"
khal list $(date -d yesterday +%Y-%m-%d)read -ep "Input the time of the start (): " start
iftest -z "$start";thenexit 4
fi
default_end=$(date +%H:%M)read -ep "Input the time of the end or the duration ($default_end): " end
iftest -z "$end";then
end="$default_end"fi
khal new -a "$selected_calendar""$start""$end"$selected_summary