aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/swaymsg.fish
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-26 13:55:08 -0400
committerGitHub <noreply@github.com>2018-08-26 13:55:08 -0400
commit6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca (patch)
treee5e4a423a3a14075735ec551587df2bb47a36d02 /completions/fish/swaymsg.fish
parent10c2c09cf67021e0e3a3cb4e733841fed1f8eaa9 (diff)
parentf3c18336d208c5755e3e580f968f00bff39bb5f1 (diff)
Merge pull request #2517 from fokditkak/add_fish_completion
Add fish completion
Diffstat (limited to 'completions/fish/swaymsg.fish')
-rw-r--r--completions/fish/swaymsg.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish
new file mode 100644
index 00000000..e798db77
--- /dev/null
+++ b/completions/fish/swaymsg.fish
@@ -0,0 +1,8 @@
+# swaymsg(1) completion
+
+complete -c swaymsg -s h -l help --description "Show help message and quit."
+complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway."
+complete -c swaymsg -s r -l raw --description "Use raw output even if using tty."
+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)."
+complete -c swaymsg -s t -l type --description "Specify the type of IPC message."
+complete -c swaymsg -s v -l version --description "Print the version (of swaymsg) and quit."