This commit is contained in:
2025-12-24 11:40:59 +01:00
parent cbbbffffbf
commit 8c2c2aa3a4
2 changed files with 14 additions and 3 deletions

View File

@@ -16,11 +16,20 @@ get_tmux_option() {
# Esempio: leggi configurazione utente
# my_option=$(get_tmux_option "@plugin_option" "default_value")
main() {
function show_reminders {
tput civis
trap "tput cnorm" EXIT
tmux display-popup -T "Impegni di oggi…" -w 50% -h 50% -x C -y C -E # -- "$CURRENT_DIR/scripts/main.sh"
rem -m -b1 -gaa -q -aa -iinclude_todo=1 -@2
read -r
}
main
function main {
if [ "$1" == "reminders" ]; then
show_reminders
else
show_popup
fi
}
main "$@"