completions: Remove strict in focus-follows-cursor

This commit is contained in:
novakane 2021-07-29 18:57:55 +02:00 committed by Isaac Freund
parent 00f51e00b4
commit 879046ef83
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ function __riverctl_completion ()
"resize") OPTS="horizontal vertical" ;; "resize") OPTS="horizontal vertical" ;;
"map"|"unmap") OPTS="-release" ;; "map"|"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;; "attach-mode") OPTS="top bottom" ;;
"focus-follows-cursor") OPTS="disabled normal strict" ;; "focus-follows-cursor") OPTS="disabled normal" ;;
"set-cursor-warp") OPTS="disabled on-output-change" ;; "set-cursor-warp") OPTS="disabled on-output-change" ;;
*) return ;; *) return ;;
esac esac

View file

@ -93,7 +93,7 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from swap' -a
complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release' complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release'
complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a '-release' complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a '-release'
complete -c riverctl -x -n '__fish_seen_subcommand_from attach-mode' -a 'top bottom' 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 strict' complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal'
complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change' complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change'
# Subcommands for 'input' # Subcommands for 'input'

View file

@ -136,7 +136,7 @@ _riverctl()
map) _alternative 'arguments:optional:(-release)' ;; map) _alternative 'arguments:optional:(-release)' ;;
unmap) _alternative 'arguments:optional:(-release)' ;; unmap) _alternative 'arguments:optional:(-release)' ;;
attach-mode) _alternative 'arguments:args:(top bottom)' ;; attach-mode) _alternative 'arguments:args:(top bottom)' ;;
focus-follows-cursor) _alternative 'arguments:args:(disabled normal strict)' ;; focus-follows-cursor) _alternative 'arguments:args:(disabled normal)' ;;
set-cursor-warp) _alternative 'arguments:args:(disabled on-output-change)' ;; set-cursor-warp) _alternative 'arguments:args:(disabled on-output-change)' ;;
*) return 0 ;; *) return 0 ;;
esac esac