aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2021-06-22 15:53:22 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-06-26 19:03:49 +0200
commit61829d82feba4d1f2a7a4125259aa33167a70756 (patch)
tree262ce933aac0ca63d07a60a6346eb7422f5d8f02 /completions
parent085cca0d5e72ef04874671c58676781c208d4c65 (diff)
downloadriver-61829d82feba4d1f2a7a4125259aa33167a70756.tar.gz
river-61829d82feba4d1f2a7a4125259aa33167a70756.tar.xz
completions: Add bash completion for set-cursor-warp commands
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 83708c0..0bcbb00 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -43,6 +43,7 @@ function __riverctl_completion ()
focus-follow-cursor \
opacity \
set-repeat \
+ set-cursor-warp \
xcursor-theme"
COMPREPLY=($(compgen -W "${OPTS}" -- "${COMP_WORDS[1]}"))
elif [ "${COMP_CWORD}" -eq 2 ]
@@ -54,6 +55,7 @@ function __riverctl_completion ()
"map"|"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;;
"focus-follows-cursor") OPTS="disabled normal strict" ;;
+ "set-cursor-warp") OPTS="disabled on-output-change" ;;
*) return ;;
esac
COMPREPLY=($(compgen -W "${OPTS}" -- "${COMP_WORDS[2]}"))