mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 07:26:55 +01:00
29 lines
731 B
Text
29 lines
731 B
Text
|
#compdef sway
|
||
|
#------------
|
||
|
# Description
|
||
|
# -----------
|
||
|
#
|
||
|
# Completion script for the sway window manager (http://swaywm.org)
|
||
|
#
|
||
|
# ---------------------------------------------
|
||
|
# Author
|
||
|
# -------
|
||
|
#
|
||
|
# * Seth Barberee <seth.barberee@gmail.com>
|
||
|
#
|
||
|
# -------------------------------
|
||
|
|
||
|
_sway() {
|
||
|
local -a options
|
||
|
options=('--version:shows version'
|
||
|
'--help:shows help message'
|
||
|
'--config:Specify a config file different than $HOME/.config/sway/config'
|
||
|
'--validate:Check validity of the config file, then exit'
|
||
|
'--debug:Enables full logging, including debug information'
|
||
|
'--verbose:Enables more verbose logging'
|
||
|
'--get-socketpath:Gets the IPC socket path and prints it, then exits'
|
||
|
)
|
||
|
_describe 'values' options
|
||
|
}
|
||
|
_sway "$@"
|