Selaa lähdekoodia

Merge branch 'rakeshdas1-master'

Ruben Vereecken 9 vuotta sitten
vanhempi
commit
ba3b07cf0c
1 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
  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"}}`