# the "tag" is unique text that is required and allows over righting previous messages
cmd notification post -t "Alert 1" tag1 "First message"
cmd notification post -t "Alert 2" tag2 "Second message"
cmd notification post -t "Alert 3" myTag123 "New Message"
cmd notification post -t "Alert 4" myTag123 "Updated Message"

# with icon
cmd notification post -t "Alert Title" -I "/sdcard/icon.png" "Tag1" "This is your notification message text."

# system icons (Might very from System to System)
cmd notification post -t "Alert Title" -I "@android:drawable/ic_dialog_alert" "Tag1" "This is your notification message text."

Generic Info Bubble: @android:drawable/ic_dialog_info
Secure Lock: @android:drawable/ic_secure
Delete/Trash Can: @android:drawable/ic_delete
Missed Call: @android:drawable/stat_notify_missed_call
Chat Message: @android:drawable/stat_notify_chat
Error Warning: @android:drawable/stat_notify_error
Muted Call: @android:drawable/stat_notify_call_mute
Syncing/Loading: @android:drawable/stat_notify_sync
Wi-Fi Signal Peak: @android:drawable/stat_sys_wifi_signal_4
Data Connected: @android:drawable/stat_sys_data_bluetooth
Play Button: @android:drawable/ic_media_play
Pause Button: @android:drawable/ic_media_pause
Next Track: @android:drawable/ic_media_next
Menu/Overflow Dot: @android:drawable/ic_menu_more


# Clear a specific notification by its unique tag ID
cmd notification dismiss "Tag1"

# pull down the notification/statusbar
cmd statusbar expand-notifications
cmd statusbar collapse


# using termux-notification
# set variables for libs
export PATH=/data/data/com.termux/files/usr/bin:$PATH
export LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so

termux-notification --title 'Hello' --content 'Sent from ADB Root'
termux-notification --id 999 'Hello Again' --content 'Sent from ADB Root'
termux-notification-remove 999

# buttons
termux-notification --id 123 --title "Update" --content "New version ready" --button1 "Install" --button1-action "echo hello >> /sdcard/l" --button2 "Later" --button2-action "termux-notification-remove 123"  
