mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
23587: completion for xrandr.
This commit is contained in:
parent
98ca677052
commit
f00a49c808
2 changed files with 35 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
2007-06-23 Clint Adams <clint@zsh.org>
|
2007-06-23 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 23587: Completion/X/Command/_xrandr: completion for
|
||||||
|
xrandr.
|
||||||
|
|
||||||
* 23586: Completion/Unix/Command/_dmidecode: completion for
|
* 23586: Completion/Unix/Command/_dmidecode: completion for
|
||||||
dmidecode.
|
dmidecode.
|
||||||
|
|
||||||
|
|
32
Completion/X/Command/_xrandr
Normal file
32
Completion/X/Command/_xrandr
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
#compdef xrandr
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'(-d -display)'{-d,-display}':X display:_x_display' \
|
||||||
|
'-help[display help]' \
|
||||||
|
'(-o --orientation)'{-o,--orientation}':rotation:(normal inverted left right 0 1 2 3)' \
|
||||||
|
'(-q --query)'{-q,--query}'[display current state]' \
|
||||||
|
'(-s --size)'{-s,--size}':size:' \
|
||||||
|
'(-r --rate --refresh)'{-r,--rate,--refresh}':target refresh rate:' \
|
||||||
|
'(-v --version)'{-v,--version}'[display version]' \
|
||||||
|
'-x[reflect across X axis]' \
|
||||||
|
'-y[reflect across Y axis]' \
|
||||||
|
'--screen:X screen number' \
|
||||||
|
'--verbose[be more verbose]' \
|
||||||
|
'--dryrun' \
|
||||||
|
'(--prop --properties)'{--prop,--properties}'[display the contents of properties for each output]' \
|
||||||
|
'--fb:size:' \
|
||||||
|
'--fbmm:size:' \
|
||||||
|
'--dpi:dpi:' \
|
||||||
|
'--output:output to reconfigure:' \
|
||||||
|
'--auto' \
|
||||||
|
'--mode:mode:' \
|
||||||
|
'--preferred' \
|
||||||
|
'--pos:position:' \
|
||||||
|
'--reflect:axes:(normal x y xy)' \
|
||||||
|
'--rotate:rotation:(normal inverted left right)' \
|
||||||
|
'--left-of:output' \
|
||||||
|
'--right-of:output' \
|
||||||
|
'--above:output' \
|
||||||
|
'--below:output' \
|
||||||
|
'--off[disable the output]' \
|
||||||
|
'--crtc:crtc to use:'
|
Loading…
Reference in a new issue