river: add tags rule
This commit is contained in:
@ -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" ;;
|
||||
|
@ -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)"
|
||||
|
@ -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
|
||||
;;
|
||||
|
Reference in New Issue
Block a user