diff options
| author | polykernel <81340136+polykernel@users.noreply.github.com> | 2023-11-06 10:53:44 -0500 |
|---|---|---|
| committer | polykernel <81340136+polykernel@users.noreply.github.com> | 2023-11-08 00:46:56 -0500 |
| commit | 2b463c9e4df867c2cffd254ef90bb200460a61f4 (patch) | |
| tree | 4e301390a1a05429ec386d9890855cf681fe6991 /completions/zsh | |
| parent | a0ea456ab2c8ea40232d920c2837cd6222c8c0c3 (diff) | |
| download | river-2b463c9e4df867c2cffd254ef90bb200460a61f4.tar.gz river-2b463c9e4df867c2cffd254ef90bb200460a61f4.tar.xz | |
river: add fullscreen rule
This commit adds a fullscreen rule for configuring
whether the view should be drawn fullscreen on start up.
The actions "fullscreen" and "no-fullscreen" map to the two
possible state of a view and semantically operate on the same
rule list. The behavior of adding, deleting and listing rules
follows that of float and ssd.
Diffstat (limited to 'completions/zsh')
| -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 2a50abd..6467fbc 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -183,9 +183,9 @@ _riverctl() # In case of a new rule added in river, we just need # to add it to the third option between '()', # i.e (float no-float <new-option>) - _arguments '1: :(-app-id -title)' '2: : ' ':: :(float no-float ssd csd tag output position dimensions)' + _arguments '1: :(-app-id -title)' '2: : ' ':: :(float no-float ssd csd tag output position dimensions fullscreen no-fullscreen)' ;; - list-rules) _alternative 'arguments:args:(float ssd tag output position dimensions)' ;; + list-rules) _alternative 'arguments:args:(float ssd tag output position dimensions fullscreen)' ;; *) return 0 ;; esac ;; |
