summaryrefslogtreecommitdiffstats
path: root/completions/fish/swaylock.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/swaylock.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/swaylock.fish')
-rw-r--r--completions/fish/swaylock.fish11
1 files changed, 11 insertions, 0 deletions
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)."