aboutsummaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorpolykernel <81340136+polykernel@users.noreply.github.com>2023-11-06 10:53:44 -0500
committerpolykernel <81340136+polykernel@users.noreply.github.com>2023-11-08 00:46:56 -0500
commit2b463c9e4df867c2cffd254ef90bb200460a61f4 (patch)
tree4e301390a1a05429ec386d9890855cf681fe6991 /completions/bash
parenta0ea456ab2c8ea40232d920c2837cd6222c8c0c3 (diff)
downloadriver-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/bash')
-rw-r--r--completions/bash/riverctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index c92e001..c756321 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -1,6 +1,6 @@
function __riverctl_completion ()
{
- local rule_actions="float no-float ssd csd tag output position dimensions"
+ local rule_actions="float no-float ssd csd tag output position dimensions fullscreen no-fullscreen"
if [ "${COMP_CWORD}" -eq 1 ]
then
OPTS=" \
@@ -66,7 +66,7 @@ function __riverctl_completion ()
"move"|"snap") OPTS="up down left right" ;;
"resize") OPTS="horizontal vertical" ;;
"rule-add"|"rule-del") OPTS="-app-id -title $rule_actions" ;;
- "list-rules") OPTS="float ssd tag output position dimensions" ;;
+ "list-rules") OPTS="float ssd tag output position dimensions fullscreen" ;;
"map") OPTS="-release -repeat -layout" ;;
"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;;