diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-31 18:26:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 18:26:03 +0100 |
commit | f841d2ed7421805b4b5bac0433fbb4db8d1d0f20 (patch) | |
tree | ff189106a32f4aff8c130dc1e8b86b428bcaabc6 | |
parent | Merge pull request #3031 from atomnuker/master (diff) | |
parent | improved swaymsg completions for fish (diff) | |
download | sway-f841d2ed7421805b4b5bac0433fbb4db8d1d0f20.tar.gz sway-f841d2ed7421805b4b5bac0433fbb4db8d1d0f20.tar.zst sway-f841d2ed7421805b4b5bac0433fbb4db8d1d0f20.zip |
Merge pull request #3042 from madblobfish/swaymsg-fish-completions
improved swaymsg completions for fish
-rw-r--r-- | completions/fish/swaymsg.fish | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish index e798db77..1e5bf3da 100644 --- a/completions/fish/swaymsg.fish +++ b/completions/fish/swaymsg.fish | |||
@@ -2,7 +2,18 @@ | |||
2 | 2 | ||
3 | complete -c swaymsg -s h -l help --description "Show help message and quit." | 3 | complete -c swaymsg -s h -l help --description "Show help message and quit." |
4 | complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway." | 4 | complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway." |
5 | complete -c swaymsg -s r -l raw --description "Use raw output even if using tty." | ||
6 | complete -c swaymsg -s s -l socket --description "Use the specified socket path. Otherwise, swaymsg will ask where the socket is (which is the value of $SWAYSOCK, then of $I3SOCK)." | ||
7 | complete -c swaymsg -s t -l type --description "Specify the type of IPC message." | ||
8 | complete -c swaymsg -s v -l version --description "Print the version (of swaymsg) and quit." | 5 | complete -c swaymsg -s v -l version --description "Print the version (of swaymsg) and quit." |
6 | complete -c swaymsg -s r -l raw --description "Use raw output even if using tty." | ||
7 | complete -c swaymsg -s s -l socket -r --description "Use the specified socket path. Otherwise, swaymsg will ask where the socket is (which is the value of $SWAYSOCK, then of $I3SOCK)." | ||
8 | |||
9 | complete -c swaymsg -s t -l type -fr --description "Specify the type of IPC message." | ||
10 | complete -c swaymsg -s t -l type -fra 'get_workspaces' --description "Gets a JSON-encoded list of workspaces and their status." | ||
11 | complete -c swaymsg -s t -l type -fra 'get_inputs' --description "Gets a JSON-encoded list of current inputs." | ||
12 | complete -c swaymsg -s t -l type -fra 'get_outputs' --description "Gets a JSON-encoded list of current outputs." | ||
13 | complete -c swaymsg -s t -l type -fra 'get_tree' --description "Gets a JSON-encoded layout tree of all open windows, containers, outputs, workspaces, and so on." | ||
14 | complete -c swaymsg -s t -l type -fra 'get_marks' --description "Get a JSON-encoded list of marks." | ||
15 | complete -c swaymsg -s t -l type -fra 'get_bar_config' --description "Get a JSON-encoded configuration for swaybar." | ||
16 | complete -c swaymsg -s t -l type -fra 'get_version' --description "Get JSON-encoded version information for the running instance of sway." | ||
17 | complete -c swaymsg -s t -l type -fra 'get_binding_modes' --description "Gets a JSON-encoded list of currently configured binding modes." | ||
18 | complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration." | ||
19 | complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients." | ||