aboutsummaryrefslogtreecommitdiffstats
path: root/completions/fish/swaymsg.fish
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-08-26 13:55:08 -0400
committerLibravatar GitHub <noreply@github.com>2018-08-26 13:55:08 -0400
commit6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca (patch)
treee5e4a423a3a14075735ec551587df2bb47a36d02 /completions/fish/swaymsg.fish
parentMerge pull request #2513 from RyanDwyer/rename-root-outputs (diff)
parentadded fish to meson.build (diff)
downloadsway-6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca.tar.gz
sway-6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca.tar.zst
sway-6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca.zip
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 @@
1# swaymsg(1) completion
2
3complete -c swaymsg -s h -l help --description "Show help message and quit."
4complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway."
5complete -c swaymsg -s r -l raw --description "Use raw output even if using tty."
6complete -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)."
7complete -c swaymsg -s t -l type --description "Specify the type of IPC message."
8complete -c swaymsg -s v -l version --description "Print the version (of swaymsg) and quit."