Notification

Show system notifications with optional buttons, sounds, and actions. Use for alerts, reminders, or persistent status messages.

mikeyobrien Updated 378 repo stars
rho web ui

File contents

System Notifications

Basic notification

termux-notification -t "Title" -c "Content message"

With ID (for updating/removing)

termux-notification --id mynotif -t "Title" -c "Message"
termux-notification-remove mynotif

Options

  • -t/--title — notification title
  • -c/--content — body text
  • --id — unique ID (update existing, or remove later)
  • --sound — play notification sound
  • --vibrate 500,200,500 — vibration pattern (ms)
  • --priority high|low|max|min — importance level
  • --ongoing — pin notification (can't swipe away)
  • --led-color RRGGBB — LED color
  • --icon icon-name — Material icon (see material.io/icons)
  • --image-path /path/to/image — show image

With action buttons

termux-notification -t "Alert" -c "Something happened" \
  --button1 "Open" --button1-action "termux-open-url https://example.com" \
  --button2 "Dismiss" --button2-action "termux-notification-remove mynotif" \
  --id mynotif

List active notifications

termux-notification-list

mikeyobrien/rho commit 79557d58e0

Frequently asked questions

npx get-skill add mikeyobrien/notification-3