2016-01-25 08:50:52 -06:00
|
|
|
# notify-send
|
|
|
|
|
2016-01-25 23:24:26 -06:00
|
|
|
> Uses the current desktop environment's notification system to create a notification.
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2016-01-29 14:28:47 +01:00
|
|
|
- Show a notification with the title "Test" and the content "This is a test":
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`notify-send "{{Test}}" "{{This is a test}}"`
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2016-01-29 14:28:47 +01:00
|
|
|
- Show a notification with a custom icon:
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`notify-send -i {{icon.png}} "{{Test}}" "{{This is a test}}"`
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2016-01-29 14:28:47 +01:00
|
|
|
- Show a notification for 5 seconds:
|
2016-01-25 08:50:52 -06:00
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`notify-send -t 5000 "{{Test}}" "{{This is a test}}"`
|
2020-05-21 01:13:29 +02:00
|
|
|
|
|
|
|
- Show a notification with an app's icon:
|
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`notify-send "{{Test}}" --icon={{google-chrome}}`
|