mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
fix
This commit is contained in:
parent
9e98f56151
commit
5d4cf5202f
1 changed files with 11 additions and 2 deletions
|
@ -10,12 +10,21 @@ complete \
|
||||||
--long-option="title" \
|
--long-option="title" \
|
||||||
--description="Set 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 \
|
complete \
|
||||||
--command='ntfy' \
|
--command='ntfy' \
|
||||||
--short-option="p" \
|
--short-option="p" \
|
||||||
--long-option="priority" \
|
--long-option="priority" \
|
||||||
--description="Set priority" \
|
--description="Set priority" \
|
||||||
--arguments='urgent high default low min'
|
--no-files \
|
||||||
|
--arguments='(__ntfy_complete_priorities)'
|
||||||
|
|
||||||
complete \
|
complete \
|
||||||
--command='ntfy' \
|
--command='ntfy' \
|
||||||
|
|
Loading…
Reference in a new issue