Просмотр исходного кода

Merge branch 'rakeshdas1-master'

Ruben Vereecken 9 лет назад
Родитель
Сommit
ba3b07cf0c
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      pages/linux/notify-send.md

+ 15 - 0
pages/linux/notify-send.md

@@ -0,0 +1,15 @@
+# notify-send
+
+> Uses the current desktop environment's notification system to create a notification.
+
+- 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:
+
+`notify-send -i {{icon.png}} {{"Test"}} {{"This is a test"}}`
+
+- Show a notification for 5 seconds:
+
+`notify-send -t 5000 {{"Test"}} {{"This is a test"}}`