mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 06:53:50 +02:00
Reworked notify-send to my liking
This commit is contained in:
parent
5b6a4c8bf9
commit
0ed875b817
1 changed files with 4 additions and 4 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
> Uses the current desktop environment's notification system to create a notification.
|
||||
|
||||
- Send out a notification with the title "Test" and the content "This is a test":
|
||||
- Show a notification with the title "Test" and the content "This is a test":
|
||||
|
||||
`notify-send {{"Test"}} {{"This is a test"}}`
|
||||
|
||||
- Send out a notification with the title "Test", the content "This is a test", and the icon icon.png:
|
||||
- Show a notification with a custom icon:
|
||||
|
||||
`notify-send -i ./icon.png {{"Test"}} {{"This is a test"}}`
|
||||
`notify-send -i {{icon.png}} {{"Test"}} {{"This is a test"}}`
|
||||
|
||||
- Send out a notification with the title "Test", the content "This is a test", and the notification shows up for 5 seconds:
|
||||
- Show a notification for 5 seconds:
|
||||
|
||||
`notify-send -t 5000 {{"Test"}} {{"This is a test"}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue