Skip to content

Commit

Permalink
docs: standardize on "layout generator"
Browse files Browse the repository at this point in the history
This is likely more clear than "layout client" to most users.
  • Loading branch information
ifreund committed Oct 31, 2021
1 parent 8134b81 commit 8757644
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion completions/fish/riverctl.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_riverctl
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions doc/riverctl.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/rivertile.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion river/Cursor.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion river/command/move.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8757644

Please sign in to comment.