aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/swaymsg.fish
diff options
context:
space:
mode:
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."