2025-03-14 21:59:59 -06:00
|
|
|
# notify-send
|
|
|
|
|
|
|
|
|
|
> Uses the current desktop environment's notification system to create a notification.
|
|
|
|
|
> More information: <https://manned.org/notify-send>.
|
|
|
|
|
|
|
|
|
|
- Show a notification with the title "Test" and the content "This is a test":
|
|
|
|
|
|
|
|
|
|
`notify-send "{{Test}}" "{{This is a test}}"`
|
|
|
|
|
|
|
|
|
|
- Show a notification with a custom icon:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`notify-send {{[-i|--icon]}} {{icon.png}} "{{Test}}" "{{This is a test}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show a notification for 5 seconds:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`notify-send {{[-t|--expire-time]}} 5000 "{{Test}}" "{{This is a test}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show a notification with an app's icon and name:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`notify-send "{{Test}}" {{[-i|--icon]}} {{google-chrome}} {{[-a|--app-name]}} "{{Google Chrome}}"`
|