Files
tmux-remind/scripts/show_reminders.sh
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

6 lines
185 B
Bash
Executable File

#!/usr/bin/env bash
export LESSCHARSET=utf-8
TERM_WIDTH=$(tput cols)
rem -m -b1 -gaa -q -aa -iinclude_todo=1 -@2 -w"$TERM_WIDTH" | less -r -S +g --status-line -PM"Riga %lt/%L (%Pb\%)"