From 7b444f014a085cfc9ee3ec10385446d92712102d Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Thu, 16 Dec 2021 10:36:28 +0100 Subject: [PATCH] Add new options to completion files --- contrib/bash_completion/autorandr | 2 +- contrib/zsh_completion/_autorandr | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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]" } -- 2.39.2