aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2023-06-27 02:11:13 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2023-06-28 15:38:32 +0200
commit0b142bd16baab2dba9e01444892032d05c179c2a (patch)
tree7ad091faf6be125ab155515c3170d5bbe98c4590 /completions
parenta98de941d04e8ca9304ba2f7336790dc1283634f (diff)
downloadriver-0b142bd16baab2dba9e01444892032d05c179c2a.tar.gz
river-0b142bd16baab2dba9e01444892032d05c179c2a.tar.xz
river: add tags rule
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl4
-rw-r--r--completions/fish/riverctl.fish6
-rw-r--r--completions/zsh/_riverctl6
3 files changed, 8 insertions, 8 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index d1de796..f3325d3 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -62,8 +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" ;;
+ "rule-add"|"rule-del") OPTS="float no-float ssd csd tag" ;;
+ "list-rules") OPTS="float ssd tag" ;;
"map") OPTS="-release -repeat -layout" ;;
"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;;
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index a207156..05829d0 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -83,9 +83,9 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a
complete -c riverctl -x -n '__fish_seen_subcommand_from attach-mode' -a 'top bottom'
complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal always'
complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change on-focus-change'
-complete -c riverctl -x -n '__fish_seen_subcommand_from rule-add' -a 'float no-float ssd csd'
-complete -c riverctl -x -n '__fish_seen_subcommand_from rule-del' -a 'float no-float ssd csd'
-complete -c riverctl -x -n '__fish_seen_subcommand_from list-rules' -a 'float ssd'
+complete -c riverctl -x -n '__fish_seen_subcommand_from rule-add' -a 'float no-float ssd csd tag'
+complete -c riverctl -x -n '__fish_seen_subcommand_from rule-del' -a 'float no-float ssd csd tag'
+complete -c riverctl -x -n '__fish_seen_subcommand_from list-rules' -a 'float ssd tag'
# Subcommands for 'input'
complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_arg 2' -a "(__riverctl_list_input_devices)"
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 53b2194..e874c78 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -183,9 +183,9 @@ _riverctl()
focus-follows-cursor) _alternative 'arguments:args:(disabled normal always)' ;;
set-cursor-warp) _alternative 'arguments:args:(disabled on-output-change on-focus-change)' ;;
hide-cursor) _riverctl_hide_cursor ;;
- rule-add) _alternative 'arguments:args:(float no-float ssd csd)' ;;
- rule-del) _alternative 'arguments:args:(float no-float ssd csd)' ;;
- list-rules) _alternative 'arguments:args:(float ssd)' ;;
+ rule-add) _alternative 'arguments:args:(float no-float ssd csd tag)' ;;
+ rule-del) _alternative 'arguments:args:(float no-float ssd csd tag)' ;;
+ list-rules) _alternative 'arguments:args:(float ssd tag)' ;;
*) return 0 ;;
esac
;;