Files
tmux-remind/tmux-remind.tmux
Paolo Donadeo e2ab9e839a feat: add tmux popup commands for reminders and calendar
- Refactor `main.sh` to support `reminders` and `calendar` commands,
  displaying tmux popups with localized titles and current date/time.
- Add `show_reminders.sh` and `show_calendar.sh` scripts to render
  reminders and 2-week calendar views using `rem`.
- Update `tmux-remind.tmux` to bind `prefix + r` for reminders and
  `prefix + c` for calendar popups.
- Improve script robustness with `set -euo pipefail` and dynamic script
  directory resolution.
2025-12-24 12:40:59 +01:00

11 lines
397 B
Bash
Executable File

#!/usr/bin/env bash
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# "$CURRENT_DIR/scripts/main.sh"
# tmux bind-key -T prefix r display-popup -T "Impegni di oggi…" -w 50% -h 50% -x C -y C -E -- "$CURRENT_DIR/scripts/main.sh"
tmux bind-key -T prefix r run-shell "$CURRENT_DIR/scripts/main.sh reminders"
tmux bind-key -T prefix c run-shell "$CURRENT_DIR/scripts/main.sh calendar"