aboutsummaryrefslogtreecommitdiff
path: root/completions/bash/riverctl
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2023-03-12 15:40:42 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-03-12 16:44:19 +0100
commitb2b2c9ed1397d345004fc2369217307b44bdbd88 (patch)
tree8021cdfbedb90a33a001da2ac90693eca89387dc /completions/bash/riverctl
parent05eac54b076f2069469aa48377cae54f0cd311aa (diff)
downloadriver-b2b2c9ed1397d345004fc2369217307b44bdbd88.tar.gz
river-b2b2c9ed1397d345004fc2369217307b44bdbd88.tar.xz
river: add rules system
This is a breaking change and replaces the previous csd-filter-add/remove and float-filter-add/remove commands. See the riverctl(1) man page for documentation on the new system.
Diffstat (limited to 'completions/bash/riverctl')
-rw-r--r--completions/bash/riverctl7
1 files changed, 5 insertions, 2 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index f50ac3b..d1de796 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -8,9 +8,7 @@ function __riverctl_completion ()
keyboard-group-add \
keyboard-group-remove \
keyboard-layout \
- csd-filter-add \
exit \
- float-filter-add \
focus-output \
focus-view \
input \
@@ -18,6 +16,9 @@ function __riverctl_completion ()
list-input-configs \
move \
resize \
+ rule-add \
+ rule-del \
+ list-rules \
snap \
send-to-output \
spawn \
@@ -61,6 +62,8 @@ function __riverctl_completion ()
"focus-output"|"focus-view"|"send-to-output"|"swap") OPTS="next previous" ;;
"move"|"snap") OPTS="up down left right" ;;
"resize") OPTS="horizontal vertical" ;;
+ "rule-add"|"rule-del") OPTS="float no-float ssd csd" ;;
+ "list-rules") OPTS="float ssd" ;;
"map") OPTS="-release -repeat -layout" ;;
"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;;