From cb1550792189a86d08a7b764c710ab47451554c4 Mon Sep 17 00:00:00 2001 From: Rakesh Das Date: Mon, 25 Jan 2016 08:50:52 -0600 Subject: [PATCH] Added notify-send --- pages/linux/notify-send.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/notify-send.md diff --git a/pages/linux/notify-send.md b/pages/linux/notify-send.md new file mode 100644 index 0000000000..1ad9825eee --- /dev/null +++ b/pages/linux/notify-send.md @@ -0,0 +1,15 @@ +# notify-send + +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" + +`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 + +`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 + +`notify-send -t 5000 {{"Test"}} {{"This is a test"}}`