From: Phillip Berndt Date: Thu, 16 Dec 2021 09:36:28 +0000 (+0100) Subject: Add new options to completion files X-Git-Tag: 1.12~6 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=7b444f014a085cfc9ee3ec10385446d92712102d Add new options to completion files --- diff --git a/contrib/bash_completion/autorandr b/contrib/bash_completion/autorandr index 03beabe..904ef80 100644 --- a/contrib/bash_completion/autorandr +++ b/contrib/bash_completion/autorandr @@ -10,7 +10,7 @@ _autorandr () prev="${COMP_WORDS[COMP_CWORD-1]}" opts="-h -c -s -r -l -d" - lopts="--help --change --save --remove --load --default --force --fingerprint --config --dry-run" + lopts="--help --change --cycle --save --remove --load --list --default --force --fingerprint --config --dry-run" # find system-level autorandr dirs OIFS="$IFS" diff --git a/contrib/zsh_completion/_autorandr b/contrib/zsh_completion/_autorandr index b6cacbb..848f614 100644 --- a/contrib/zsh_completion/_autorandr +++ b/contrib/zsh_completion/_autorandr @@ -28,11 +28,13 @@ _autorandr () { "($exclude)"{-r,--remove}"[remove profile]:profile:__autorandr_saved_profile" \ --batch"[run autorandr for all users]" \ --current"[list current active configurations]" \ + --cycle"[cycle through all detected profiles]" \ --config"[dump current xrandr setup]" \ --debug"[enable verbose output]" \ --dry-run"[don't change anything]" \ --fingerprint"[fingerprint current hardware]" \ --force"[force loading of a profile]" \ + --list"[list all profiles]" \ --skip-options"[skip xrandr options]:xrandr options:_values -s , options gamma brightness panning transform primary mode pos rate" \ --version"[show version]" }