summaryrefslogtreecommitdiffstats
path: root/completions
diff options
context:
space:
mode:
Diffstat (limited to 'completions')
-rw-r--r--completions/fish/sway.fish10
-rw-r--r--completions/fish/swaylock.fish11
-rw-r--r--completions/fish/swaymsg.fish8
-rw-r--r--completions/zsh/_swaylock6
4 files changed, 32 insertions, 3 deletions
diff --git a/completions/fish/sway.fish b/completions/fish/sway.fish
new file mode 100644
index 00000000..31165ef4
--- /dev/null
+++ b/completions/fish/sway.fish
@@ -0,0 +1,10 @@
1# sway(1) completion
2
3complete -c sway -s h -l help --description "Show help message and quit."
4complete -c sway -s c -l config --description "Specifies a config file."
5complete -c sway -s C -l validate --description "Check the validity of the config file, then exit."
6complete -c sway -s d -l debug --description "Enables full logging, including debug information."
7complete -c sway -s v -l version --description "Show the version number and quit."
8complete -c sway -s V -l verbose --description "Enables more verbose logging."
9complete -c sway -l get-socketpath --description "Gets the IPC socket path and prints it, then exits."
10
diff --git a/completions/fish/swaylock.fish b/completions/fish/swaylock.fish
new file mode 100644
index 00000000..965a22d2
--- /dev/null
+++ b/completions/fish/swaylock.fish
@@ -0,0 +1,11 @@
1# swaylock(1) completion
2
3complete -c swaylock -s h -l help --description "Show help message and quit."
4complete -c swaylock -s c -l color --description "Turn the screen into the given color. If -i is used, this sets the background of the image into the given color. Defaults to white (ffffff), or transparent (00000000) if an image is in use."
5complete -c swaylock -s f -l daemonize --description "Fork into the background after spawning. Note: this is the default bahavior of i3lock."
6complete -c swaylock -s i -l image --description "Display the given image, optionally on the given output. Use -c to set a background color."
7complete -c swaylock -l scaling --description "Scaling mode for images: stretch, fill, fit, center, or tile."
8complete -c swaylock -s t -l tiling --description "Same as --scaling=tile."
9complete -c swaylock -s u -l no-unlock-indicator --description "Disable the unlock indicator."
10complete -c swaylock -s v -l version --description "Show the version number and quit."
11complete -c swaylock -l socket --description "Use the specified socket path. Othherwise, swaymsg will as sway where the socket is (which is the value of $SWAYSOCK, then of $I350CK)."
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."
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock
index 478c7512..8fb4834c 100644
--- a/completions/zsh/_swaylock
+++ b/completions/zsh/_swaylock
@@ -6,9 +6,9 @@
6_arguments -s \ 6_arguments -s \
7 '(-v --version)'{-v,--version}'[Show the version number and quit]' \ 7 '(-v --version)'{-v,--version}'[Show the version number and quit]' \
8 '(-h --help)'{-h,--help}'[Show help message and quit]' \ 8 '(-h --help)'{-h,--help}'[Show help message and quit]' \
9 '(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]'\ 9 '(-f --daemonize)'{-f,--daemonize}'[Detach from the controlling terminal]' \
10 '(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \ 10 '(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
11 '(-i --image)'{-i,--image}'[Display an image]:files:_files' \ 11 '(-i --image)'{-i,--image}'[Display an image]:files:_files' \
12 '(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \ 12 '(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
13 '(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]' 13 '(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]' \
14 '(--socket)'{--socket}'[Use the specified socket path.]:files:_files' \ 14 '(--socket)'--socket'[Use the specified socket path.]:files:_files' \