mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 06:44:22 +00:00
Compare commits
2 commits
c01879e6f3
...
5d4cf5202f
Author | SHA1 | Date | |
---|---|---|---|
5d4cf5202f | |||
9e98f56151 |
1 changed files with 33 additions and 0 deletions
33
completions/ntfy.fish
Normal file
33
completions/ntfy.fish
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
complete \
|
||||||
|
--command='ntfy' \
|
||||||
|
--short-option="d" \
|
||||||
|
--long-option="topic" \
|
||||||
|
--description="Set topic"
|
||||||
|
|
||||||
|
complete \
|
||||||
|
--command='ntfy' \
|
||||||
|
--short-option="t" \
|
||||||
|
--long-option="title" \
|
||||||
|
--description="Set title"
|
||||||
|
|
||||||
|
function __ntfy_complete_priorities
|
||||||
|
echo max \t 'Really long vibration bursts, default notification sound with a pop-over notification.'
|
||||||
|
echo high \t 'Long vibration burst, default notification sound with a pop-over notification.'
|
||||||
|
echo default \t 'Short default vibration and sound. Default notification behavior.'
|
||||||
|
echo low \t 'No vibration or sound. Notification will not visibly show up until notification drawer is pulled down.'
|
||||||
|
echo min \t 'No vibration or sound. The notification will be under the fold in Other notifications.'
|
||||||
|
end
|
||||||
|
|
||||||
|
complete \
|
||||||
|
--command='ntfy' \
|
||||||
|
--short-option="p" \
|
||||||
|
--long-option="priority" \
|
||||||
|
--description="Set priority" \
|
||||||
|
--no-files \
|
||||||
|
--arguments='(__ntfy_complete_priorities)'
|
||||||
|
|
||||||
|
complete \
|
||||||
|
--command='ntfy' \
|
||||||
|
--short-option="x" \
|
||||||
|
--long-option="tag" \
|
||||||
|
--description="Add tag"
|
Loading…
Reference in a new issue