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

commit4d81bdfb2888facd486efff31f5d26002ca46142
parent52d8e8af7a
authorIsaac Freund <[email protected]>
date2021-10-31 22:32
docs: standardize on "layout generator"

This is likely more clear than "layout client" to most users.

 completions/fish/riverctl.fish | 2 +-
 completions/zsh/_riverctl      | 2 +-
 doc/riverctl.1.scd             | 6 +++---
 doc/rivertile.1.scd            | 2 +-
 river/Cursor.zig               | 2 +-
 river/command/move.zig         | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index cd76675..53da6e9 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -56,7 +56,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a toggle-fu
 complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a zoom                   -d 'Bump the focused view to the top of the layout stack'
 complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a default-layout         -d 'Set the layout namespace to be used by all outputs by default.'
 complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a output-layout          -d 'Set the layout namespace of currently focused output.'
-complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a send-layout-cmd        -d 'Send command to the layout client on the currently focused output with the given namespace'
+complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a send-layout-cmd        -d 'Send command to the layout generator on the currently focused output with the given namespace'
 # Tag managements
 complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-focused-tags       -d 'Show views with tags corresponding to the set bits of tags'
 complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-view-tags          -d 'Assign the currently focused view the tags corresponding to the set bits of tags'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 74f3ea8..c413644 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -25,7 +25,7 @@ _riverctl_subcommands()
         'zoom:Bump the focused view to the top of the layout stack'
         'default-layout:Set the layout namespace to be used by all outputs by default.'
         'output-layout:Set the layout namespace of currently focused output.'
-        'send-layout-cmd:Send command to the layout client on the currently focused output with matching namespace'
+        'send-layout-cmd:Send command to the layout generator on the currently focused output with matching namespace'
         # Tag management
         'set-focused-tags:Show views with tags corresponding to the set bits of tags'
         'set-view-tags:Assign the currently focused view the tags corresponding to the set bits of tags'
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index e0c4753..410cb56 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -99,9 +99,9 @@ over the Wayland protocol.
 	the value set with *default-layout* if any.
 
 *send-layout-cmd* _namespace_ _command_
-	Send _command_ to the layout client on the currently focused output
-	with the given _namespace_, if any. What commands a layout client
-	understands depends on the layout client. For rivertile, see the
+	Send _command_ to the layout generator on the currently focused output
+	with the given _namespace_, if any. What commands a layout generator
+	understands depends on the layout generator. For rivertile, see the
 	documentation in the *rivertile*(1) man page.
 
 ## TAG MANAGEMENT
diff --git a/doc/rivertile.1.scd b/doc/rivertile.1.scd
index 7ac1722..f23c6cc 100644
--- a/doc/rivertile.1.scd
+++ b/doc/rivertile.1.scd
@@ -10,7 +10,7 @@ rivertile - tiled layout generator for river
 
 # DESCRIPTION
 
-*rivertile* is a layout client for *river*(1). It provides a simple tiled
+*rivertile* is a layout generator for *river*(1). It provides a simple tiled
 layout with split main/secondary stacks. The initial state may be configured
 with various options passed on startup. Some values may additionally be
 modified while rivertile is running with the help of *riverctl*(1).
diff --git a/river/Cursor.zig b/river/Cursor.zig
index 1d54508..17b752e 100644
--- a/river/Cursor.zig
+++ b/river/Cursor.zig
@@ -674,7 +674,7 @@ pub fn enterMode(self: *Self, mode: std.meta.Tag((Mode)), view: *View) void {
             }
 
             // Automatically float all views being moved by the pointer, if
-            // their dimensions are set by a layout client. If however the views
+            // their dimensions are set by a layout generator. If however the views
             // are unarranged, leave them as non-floating so the next active
             // layout can affect them.
             if (!view.current.float and view.output.current.layout != null) {
diff --git a/river/command/move.zig b/river/command/move.zig
index e531bfc..d8589f5 100644
--- a/river/command/move.zig
+++ b/river/command/move.zig
@@ -137,7 +137,7 @@ pub fn resize(
 
 fn apply(view: *View) void {
     // Set the view to floating but keep the position and dimensions, if their
-    // dimensions are set by a layout client. If however the views are
+    // dimensions are set by a layout generator. If however the views are
     // unarranged, leave them as non-floating so the next active layout can
     // affect them.
     if (view.output.pending.layout != null)