mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
committed by
Johannes Altmanninger
parent
20c67692e1
commit
55bddac90a
@@ -1,24 +1,19 @@
|
||||
# Light is a program to control backlight controllers under GNU/Linux.
|
||||
# See: https://github.com/haikarainen/light
|
||||
|
||||
function __fish_print_light_controllers
|
||||
command light -L
|
||||
end
|
||||
|
||||
complete -c light -s h -d 'Print help and exit'
|
||||
complete -c light -s h -s -H -d 'Print help and exit'
|
||||
complete -c light -s V -d 'Print version info and exit'
|
||||
complete -c light -s G -d 'Get value (default)'
|
||||
complete -c light -s S -x -d 'Set value'
|
||||
complete -c light -s L -d 'List controllers'
|
||||
complete -c light -s A -x -d 'Add value'
|
||||
complete -c light -s U -x -d 'Subtract value'
|
||||
complete -c light -s L -d 'List controllers'
|
||||
complete -c light -s I -d 'Restore brightness'
|
||||
complete -c light -s T -d 'Save brightness'
|
||||
complete -c light -s S -x -d 'Set value'
|
||||
complete -c light -s G -d 'Get value (default)'
|
||||
complete -c light -s N -d 'Set minimum brightness'
|
||||
complete -c light -s P -d 'Get minimum brightness'
|
||||
complete -c light -s O -d 'Save brightness'
|
||||
complete -c light -s b -d 'Brightness (default)'
|
||||
complete -c light -s m -d 'Maximum brightness'
|
||||
complete -c light -s c -d 'Minimum cap'
|
||||
complete -c light -s a -d 'Selects controller automatically (default)'
|
||||
complete -c light -s s -a '(__fish_print_light_controllers)' -x -d 'Specify controller to use'
|
||||
complete -c light -s p -d 'Interpret & output values in percent'
|
||||
complete -c light -s I -d 'Restore brightness after saving'
|
||||
|
||||
complete -c light -s r -d 'Interpret & output values in raw mode'
|
||||
complete -c light -s s -a '(command light -L)' -x -d 'Specify controller to use'
|
||||
complete -c light -s v -x -d 'Sets the verbosity level' -a '0\tRead\ values 1\tRead\ values\ \&\ errors 2\tRead\ values,\ errors\ \&\ warnings 3\tRead\ values,\ errors,\ warnings\ \&\ notices'
|
||||
|
||||
Reference in New Issue
Block a user