mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
added swaybar completion
This commit is contained in:
parent
c7c2bf542a
commit
fc58822bef
|
@ -1,4 +1,4 @@
|
|||
install(
|
||||
FILES _sway _swaymsg _swaygrab _swaylock
|
||||
FILES _sway _swaybar _swaymsg _swaygrab _swaylock
|
||||
DESTINATION share/zsh/site-functions/
|
||||
)
|
||||
|
|
20
completions/zsh/_swaybar
Normal file
20
completions/zsh/_swaybar
Normal file
|
@ -0,0 +1,20 @@
|
|||
#compdef swaybar
|
||||
#------------
|
||||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for swaybar in the sway wm (http://swaywm.org)
|
||||
#
|
||||
# ---------------------------------------------
|
||||
# Author
|
||||
# -------
|
||||
#
|
||||
# * Seth Barberee <seth.barberee@gmail.com>
|
||||
#
|
||||
# -------------------------------
|
||||
_arguments -s \
|
||||
'(-v --version)'{-v,--version}'[shows version]' \
|
||||
'(-h --help)'{-h,--help}'[shows help message]' \
|
||||
'(-d --debug)'{-d,--debug}'[Enable debugging]' \
|
||||
'(-b --bar_id)'{-b,--bar_id}'[Bar ID for which to get the configuration]' \
|
||||
'(-s --socket)'{-s,--socket}'[Connect to sway via socket]'
|
Loading…
Reference in a new issue