aboutsummaryrefslogtreecommitdiff
path: root/completions/zsh
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-04-15 00:28:39 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-04-20 18:27:03 +0200
commitd08032d6850d28063c0715aa54b1c18e0d0b966d (patch)
tree582f6e1ef56b395ccf599708136589ee09cdcb7f /completions/zsh
parent33fb7725c5a9d68d28bc2a30537210518aef3486 (diff)
downloadriver-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')
-rw-r--r--completions/zsh/_riverctl4
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
}
-