feat(cli): relative volume and quieter CLI startup (#1238)

This commit is contained in:
cucadmuh
2026-07-05 14:57:39 +03:00
committed by GitHub
parent f48089e222
commit 9557f8e10a
11 changed files with 221 additions and 42 deletions
+6 -1
View File
@@ -165,12 +165,17 @@ _psysonic_complete() {
rating)
(( n == 1 )) && _psysonic_compreply_from_compgen '0 1 2 3 4 5' "$cur"
;;
seek|volume)
seek)
if (( n == 1 )); then
_psysonic_compopt -o default
COMPREPLY=()
fi
;;
volume)
if (( n == 1 )); then
_psysonic_compreply_from_compgen '+5 +10 -5 -10 50' "$cur"
fi
;;
play)
if (( n == 1 )); then
_psysonic_compopt -o default