diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-15 00:28:39 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-20 18:27:03 +0200 |
| commit | d08032d6850d28063c0715aa54b1c18e0d0b966d (patch) | |
| tree | 582f6e1ef56b395ccf599708136589ee09cdcb7f /completions/zsh/_riverctl | |
| parent | 33fb7725c5a9d68d28bc2a30537210518aef3486 (diff) | |
| download | river-d08032d6850d28063c0715aa54b1c18e0d0b966d.tar.gz river-d08032d6850d28063c0715aa54b1c18e0d0b966d.tar.xz | |
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.
Diffstat (limited to 'completions/zsh/_riverctl')
| -rw-r--r-- | completions/zsh/_riverctl | 4 |
1 files changed, 2 insertions, 2 deletions
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 } - |
