2016-01-18 04:06:26 +00:00
|
|
|
#compdef sway
|
|
|
|
#------------
|
|
|
|
# Description
|
|
|
|
# -----------
|
|
|
|
#
|
|
|
|
# Completion script for the sway window manager (http://swaywm.org)
|
|
|
|
#
|
|
|
|
# ---------------------------------------------
|
|
|
|
# Author
|
|
|
|
# -------
|
|
|
|
#
|
|
|
|
# * Seth Barberee <seth.barberee@gmail.com>
|
|
|
|
#
|
|
|
|
# -------------------------------
|
2016-02-01 04:39:08 +00:00
|
|
|
_arguments -s \
|
|
|
|
'(-v --version)'{-v,--version}'[shows version]' \
|
|
|
|
'(-h --help)'{-h,--help}'[shows help message]' \
|
2016-02-01 20:53:45 +00:00
|
|
|
'(-c --config)'{-c,--config}'[Specify a config file]:files:_files' \
|
2016-02-01 04:39:08 +00:00
|
|
|
'(-C --validate)'{-C,--validate}'[Check validity of the config file, then exit]' \
|
|
|
|
'(-d --debug)'{-d,--debug}'[Enables full logging, including debug information]' \
|
|
|
|
'(-v --verbose)'{-v,--verbose}'[Enables more verbose logging]' \
|
|
|
|
'(--get-socketpath)'--get-socketpath'[Gets the IPC socket path and prints it, then exits]'
|