aboutsummaryrefslogtreecommitdiffstats
path: root/completions/rsp.fish
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-06 13:07:26 +0200
committersalmonik <raisersoft@proton.me>2026-05-06 13:07:26 +0200
commit26d6630f5b396964efb6df5cf424d536a59e5329 (patch)
tree0146cc7f7be1b9577edbec57d2427ac9f95650ec /completions/rsp.fish
parentMark unit tests as completed in TODO.md (diff)
downloadrsplayer-26d6630f5b396964efb6df5cf424d536a59e5329.tar.gz
rsplayer-26d6630f5b396964efb6df5cf424d536a59e5329.zip
Add install script, shell completions, and systemd service
- Add install.sh script that builds release, stops daemon, and installs binary - Add shell completions for bash, zsh, and fish - Add systemd user service unit file - Add public binary declaration in Cargo.toml - Add install command to CLI - Make current_track field public for MPRIS integration (placeholder)
Diffstat (limited to 'completions/rsp.fish')
-rw-r--r--completions/rsp.fish11
1 files changed, 11 insertions, 0 deletions
diff --git a/completions/rsp.fish b/completions/rsp.fish
new file mode 100644
index 0000000..1fd7483
--- /dev/null
+++ b/completions/rsp.fish
@@ -0,0 +1,11 @@
1# rsp fish completion
2
3complete -c rsp -n '__fish_use_subcommand' -a 'start stop restart play pause resume next previous volume shuffle queue status scan settings' -d 'Command'
4
5complete -c rsp -n '__fish_seen_subcommand_from play' -f -d 'Audio file or directory'
6
7complete -c rsp -n '__fish_seen_subcommand_from volume' -a '0 10 20 30 40 50 60 70 80 90 100' -d 'Volume level'
8
9complete -c rsp -n '__fish_seen_subcommand_from shuffle' -a 'on off album' -d 'Shuffle mode'
10
11complete -c rsp -n '__fish_seen_subcommand_from settings' -a 'get set list unset' -d 'Settings command'