]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blob - contrib/fish_copletion/autorandr.fish
New upstream version 1.14
[deb_pkgs/autorandr.git] / contrib / fish_copletion / autorandr.fish
1 # don't complete directories and paths
2 complete -c autorandr -f
3
4 set -l virtual_profiles off common clone-largest horizontal vertical
5 set -l user_profiles (autorandr --list)
6 set -l profile_users -d --default -s --save -l --load -r --remove
7
8 complete -c autorandr -n "__fish_seen_subcommand_from $profile_users" \
9     -a "$virtual_profiles $user_profiles"
10
11 complete -c autorandr -s -h -l help -d 'get help'
12 complete -c autorandr -s -c -l change -d 'automatically load the first detected profile'
13 complete -c autorandr -s -d -l default -d 'set default PROFILE'
14 complete -c autorandr -s -l -l load -d 'load PROFILE'
15 complete -c autorandr -s -s -l save -d 'save current setup to a PROFILE'
16 complete -c autorandr -s -r -l remove -d 'remove PROFILE'
17 complete -c autorandr -l current -d 'list curren active configurations'
18 complete -c autorandr -l cycle -d 'cycle through all detected drofiles'
19 complete -c autorandr -l config -d 'dump current xrandr setup'
20 complete -c autorandr -l debug -d 'enable verbose output'
21 complete -c autorandr -l dry-run -d 'don\'t change anything'
22 complete -c autorandr -l fingerprint -d 'fingerprint current hardware'
23 complete -c autorandr -l match-edid -d 'match displays using edid'
24 complete -c autorandr -l force -d 'force loading of a profile'
25 complete -c autorandr -l list -d 'list all profiles'
26 complete -c autorandr -l skip-options -d 'Set a comma-separated lis of xrandr arguments to skip buth in change detection and profile application'
27 complete -c autorandr -l ignore-lid -d 'By default, closed lids are considered as disconnected if other outputs are detected. This flag disables this behavior'
28 complete -c autorandr -l version -d 'show version'