fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

kpbaksAdd completions for `notify-send`f07e6c666

master
1.1 KiB23 linesraw
1set -l c complete -c notify-send
2
3$c -f # Disable file completion
4
5# notify-send [OPTION…] <SUMMARY> [BODY] - create a notification
6
7set -l urgency_levels
8
9$c -s u -l urgency -d "urgency level" -x -a 'low normal critical'
10$c -s t -l expire-time -x -d "timeout in milliseconds at which to expire the notification"
11$c -s a -l app-name -x -d "app name for the icon"
12$c -s i -l icon -x -d "icon filename or stock icon to display"
13$c -s i -l icon -x -a "(__fish_complete_freedesktop_icons)"
14$c -s c -l category -x -d "notification category"
15$c -s e -l transient -d "create a transient notification"
16$c -s h -l hint -x -d "extra data to pass, format: `TYPE:NAME:VALUE`, valid types: boolean, int, double, string, byte and variant"
17$c -s p -l print-id -d "print the notification ID"
18$c -s r -l replace-id -x -d "ID of the notification to replace"
19$c -s w -l wait -d "wait for the notification to be closed before exciting"
20$c -s A -l action -x -d "clickable actions to display to the user. implies --wait, can be set multiple times, example: --action=save='Save Screenshot?'"
21
22$c -s '?' -l help -d "print help information"
23$c -s v -l version -d "print program version"