소스 검색

Merge branch 'rakeshdas1-master'

Ruben Vereecken 9 년 전
부모
커밋
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"}}`