From 14e6bdb13980db3060ef0837f85471a468a309be Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 30 Jan 2007 10:01:28 +1000 Subject: [PATCH] Add command specific completions for totem, written by Velko Hristov darcs-hash:20070130000128-ac50b-8aec9bbe3858d03189720ed6fc9906ce8f9d4ddc.gz --- share/completions/totem.fish | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 share/completions/totem.fish diff --git a/share/completions/totem.fish b/share/completions/totem.fish new file mode 100644 index 000000000..b477dc8db --- /dev/null +++ b/share/completions/totem.fish @@ -0,0 +1,19 @@ +#completion for totem + +complete -c totem -l usage --description 'Output a brief synopsis of command options then quit' +complete -c totem -s ? -l help --description 'Output a longer help message then quit' +complete -c totem -l version --description 'Output version information then quit' +complete -c totem -l play-pause --description 'Tell any running totem instance: Toggle between play and pause' +complete -c totem -l play --description 'Tell any running totem instance: Play' +complete -c totem -l pause --description 'Tell any running totem instance: Pause' +complete -c totem -l next --description 'Tell any running totem instance: Skip to next' +complete -c totem -l previous --description 'Tell any running totem instance: Skip to previous' +complete -c totem -l seek-fwd --description 'Tell any running totem instance: Seek forwards 15 sec' +complete -c totem -l seek-bwd --description 'Tell any running totem instance: Seek backwards 15 sec' +complete -c totem -l volume-up --description 'Tell any running totem instance: Raise volume by 8%' +complete -c totem -l volume-down --description 'Tell any running totem instance: Lower volume by 8%' +complete -c totem -l fullscreen --description 'Tell any running totem instance: Toggle fullscreen' +complete -c totem -l quit --description 'Tell any running totem instance: Quit' + +complete -r -c totem -l enqueue --description 'Tell any running totem instance: Add to playlist' +complete -r -c totem -l replace --description 'Tell any running totem instance: Play from playlist'