Commit Graph

2 Commits

Author SHA1 Message Date
487937f8cf feat(reminders): dynamically adjust popup width based on content
- Calculate the maximum line width of the reminders output in
  `show_reminders.sh`
- Pass the calculated width and a temporary file to the tmux popup in
  `main.sh`
- Ensure popup width is at least 40 and does not exceed the tmux window
  width
- Improve display by preventing horizontal scrolling and better fitting
  content
2025-12-27 12:12:58 +01:00
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