blob: a9b1a14f1c8969542cbebbbaf90520605f90911d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#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 "$@"
|