You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
718 B
27 lines
718 B
#compdef swaymsg
|
|
#-----------------
|
|
# Description
|
|
# -----------
|
|
#
|
|
# Completion script for swaymsg in sway wm (http://swaywm.org)
|
|
#
|
|
# ------------------------------------------------------
|
|
# Author
|
|
# --------
|
|
#
|
|
# * Seth Barberee <seth.barberee@gmail.com>
|
|
#
|
|
# -------------------------------------------
|
|
|
|
_swaymsg() {
|
|
local -a options
|
|
options=('--version:shows version'
|
|
'--help:shows help message'
|
|
'--quiet:sends the IPC message but does not print the response from sway'
|
|
'--socket:Use the specified socket path. Otherwise, swaymsg uses $SWAYSOCK then $I3SOCK'
|
|
'--type:Specify the type of IPC message. Tab completion still coming so use the man page instead'
|
|
)
|
|
_describe 'values' options
|
|
}
|
|
_swaymsg "$@"
|