From b35d779122eeb2a31a8300e407191f12bb883e8c Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Sat, 8 Jul 2023 06:30:27 +0200 Subject: river: focus-view and swap by spatial direction --- completions/bash/riverctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'completions/bash/riverctl') diff --git a/completions/bash/riverctl b/completions/bash/riverctl index f3325d3..f3d8674 100644 --- a/completions/bash/riverctl +++ b/completions/bash/riverctl @@ -59,7 +59,8 @@ function __riverctl_completion () elif [ "${COMP_CWORD}" -eq 2 ] then case "${COMP_WORDS[1]}" in - "focus-output"|"focus-view"|"send-to-output"|"swap") OPTS="next previous" ;; + "focus-output"|"send-to-output") OPTS="next previous" ;; + "focus-view"|"swap") OPTS="next previous up down left right" ;; "move"|"snap") OPTS="up down left right" ;; "resize") OPTS="horizontal vertical" ;; "rule-add"|"rule-del") OPTS="float no-float ssd csd tag" ;; -- cgit v1.2.3