rivertile: support command line arguments

Add support for command line arguments to set default values for the
various options of rivertile, bringing us back to rough feature parity
with before the commit removing the river-options protocol.
This commit is contained in:
Isaac Freund
2021-04-26 23:41:30 +02:00
parent e80b883a47
commit 07fd1b86ca
3 changed files with 213 additions and 26 deletions

View File

@ -6,13 +6,30 @@ rivertile - Tiled layout generator for river
# SYNOPSIS
*rivertile*
*rivertile* [_options_]
# DESCRIPTION
*rivertile* is a layout client for river. It provides a simple tiled layout
split main/secondary stacks.
# OPTIONS
*-view-padding* _pixels_
Set the padding around views in pixels.
*-outer-padding* _pixels_
Set the padding around the edge of the layout area in pixels.
*-main-location* [*top*|*bottom*|*left*|*right*]
Set the default location of the main area in the layout.
*-main-count* _count_
Set the default number of views in the main area of the layout.
*-main-factor* _ratio_
Set the default ratio of main area to total layout area.
# VALUES
_main_location_ (string: top, bottom, left, or right)