From 61f272495d72e36c56a98e645d814253aeeeedc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Martinez?= Date: Sat, 28 Jan 2017 18:26:02 +0100 Subject: [PATCH] Add i3-msg completions --- share/completions/i3-msg.fish | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 share/completions/i3-msg.fish diff --git a/share/completions/i3-msg.fish b/share/completions/i3-msg.fish new file mode 100644 index 000000000..d635392a9 --- /dev/null +++ b/share/completions/i3-msg.fish @@ -0,0 +1,16 @@ +# i3-msg is a tool to send messages to the i3 window manager. +# See: https://i3wm.org + +complete -c i3-msg -l quiet -s q -d 'Only send ipc message and suppress output' +complete -c i3-msg -l version -s v -d 'Display version number and exit' +complete -c i3-msg -l help -s h -d 'Display help and exit' +complete -c i3-msg -l socket -s s -d 'Set socket' +complete -c i3-msg -s t -x -d 'Specify ipc message type' -a ' + command\t"Payload is a command" + get_workspaces\t"Get current workspace" + get_outputs\t"Get current outputs" + get_tree\t"Get layout tree" + get_marks\t"Get list of marks" + get_bar_config\t"Get list of configured binding modes" + get_version\t"Get i3 version" +'