From d08032d6850d28063c0715aa54b1c18e0d0b966d Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 15 Apr 2021 00:28:39 +0200 Subject: river-options: rework, bump to v2 Options are now all global but may be overridden per-output. If an output local value is requested but none has been set, the global value is provided instead. This makes for much better ergonomics when configuring layout related options in particular. --- completions/zsh/_riverctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'completions/zsh/_riverctl') diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl index 76918f5..23a706b 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -61,6 +61,7 @@ _riverctl() { 'declare-option:Declare a new option with the given type and initial value' 'get-option:Print the current value of the given option to stdout' 'set-option:Set the value of the specified option' + 'unset-option:Unset the value of the specified option for the given output' 'mod-option:Add value to the value of the specified option' 'output_title:Changing this option changes the title of the Wayland and X11 backend outputs' ) @@ -87,13 +88,12 @@ _riverctl() { unmap) _alternative 'arguments:optional:(-release)' ;; attach-mode) _attach ;; focus-follows-cursor) _focus_cursor ;; - declare-option) _river_opts ;; get-option) _river_opts ;; set-option) _river_opts ;; + unset-option) _river_opts ;; mod-option) _river_opts ;; *) return 0 ;; esac return 1 } - -- cgit v1.2.3