git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitd9278db4f9c7576f01cdbc6cdeb0a35f1d7aa409
parent68a60551be
authorFollieHiyuki <[email protected]>
date2021-03-16 18:16
Fix existing typos

 completions/zsh/_riverctl | 14 +++++++-------
 doc/riverctl.1.scd        |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 9bcb4dd..76918f5 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -5,7 +5,7 @@ _riverctl() {
 
   _next_prev() { _alternative 'arguments:args:(next previous)' }
   _orientations() { _alternative 'arguments:args:(up down left right)' }
-  _hor_ver() { _alternative 'arguments:args:(horizontal vertcial)' }
+  _hor_ver() { _alternative 'arguments:args:(horizontal vertical)' }
   _attach() { _alternative 'arguments:args:(top bottom)' }
   _focus_cursor() { _alternative 'arguments:args:(disabled normal strict)' }
   _river_opts() { _alternative 'arguments:args:(-output -focused-output)' }
@@ -40,7 +40,7 @@ _riverctl() {
     'spawn-tagmask:Set a tagmask to filter the tags assigned to newly spawned views on the focused output'
     # Mappings
     'declare-mode:Create a new mode'
-    'enter-mode:Switch to given mode if it exits'
+    'enter-mode:Switch to given mode if it exists'
     'map:Run command when key is pressed while modifiers are held down and in the specified mode'
     'map-pointer:Move or resize views when button and modifiers are held down while in the specified mode'
     'unmap:Remove the mapping defined by the arguments'
@@ -51,18 +51,18 @@ _riverctl() {
     'border-color-focused:Set the border color of focused views'
     'border-color-unfocused:Set the border color of unfocused views'
     'border-width:Set the border width to pixels'
-    'focus-follows-cursor:There are three available modes'
+    'focus-follows-cursor:Configure the focus behavior when moving cursor'
     'opacity:Configure server-side opacity of views'
     'outer-padding:Set the padding around the edge of the screen to pixels'
-    'set-repeat:Set the keyboard repeat rate to rate key repeats and repeat delay'
+    'set-repeat:Set the keyboard repeat rate and repeat delay'
     'view-padding:Set the padding around the edge of each view to pixels'
     'xcursor-theme:Set the xcursor theme'
     # Options
-    'declare-option:Declare a new option with the given type and inital value'
+    'declare-option:Declare a new option with the given type and initial value'
     'get-option:Print the current value of the given option to stdout'
-    'set-option:Set the value of the specified option to value'
+    'set-option:Set the value of the specified option'
     'mod-option:Add value to the value of the specified option'
-    'output_title:Changing this option changes the title of the wayland and X11 backend outputs'
+    'output_title:Changing this option changes the title of the Wayland and X11 backend outputs'
   )
 
   local -A opt_args
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index 0d96846..46dd3a1 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -170,7 +170,7 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_
 	Create a new mode called _name_.
 
 *enter-mode* _name_
-	Switch to given mode if it exits.
+	Switch to given mode if it exists.
 
 *map* [_-release_] _mode_ _modifiers_ _key_ _command_
 	Run _command_ when _key_ is pressed while _modifiers_ are held down
@@ -289,7 +289,7 @@ name of the output as obtained from the xdg-output protocol. Alternatively,
 the currently focused output may be targeted with the *-focused-output* flag.
 
 *declare-option* [*-output* _output_name_|*-focused-output*] _name_ _type_ _value_
-	Declare a new option with the given _type_ and inital _value_. If
+	Declare a new option with the given _type_ and initial _value_. If
 	the option already exists with the given _type_, it is still set
 	to _value_. If the option already exists with a different type,
 	nothing happens.