1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 16:55:34 +02:00

Added notify-send

This commit is contained in:
Rakesh Das 2016-01-25 23:18:45 -06:00 committed by Ruben Vereecken
parent cb15507921
commit 054f36d475

View file

@ -2,14 +2,14 @@
Uses the current desktop environment's notification system to create a notification. Uses the current desktop environment's notification system to create a notification.
- Sends out a notification with the title "Test" and the content "This is a test" - Send out a notification with the title "Test" and the content "This is a test":
`notify-send {{"Test"}} {{"This is a test"}}` `notify-send {{"Test"}} {{"This is a test"}}`
- Sends out a notification with the title "Test", the content "This is a test", and the icon icon.png - Send out a notification with the title "Test", the content "This is a test", and the icon icon.png:
`notify-send -i ./icon.png {{"Test"}} {{"This is a test"}}` `notify-send -i ./icon.png {{"Test"}} {{"This is a test"}}`
- Sends out a notification with the title "Test", the content "This is a test", and the notification shows up for 5 seconds - Send out a notification with the title "Test", the content "This is a test", and the notification shows up for 5 seconds:
`notify-send -t 5000 {{"Test"}} {{"This is a test"}}` `notify-send -t 5000 {{"Test"}} {{"This is a test"}}`