From 07fd1b86caebc21242bd12bc86de03aa3b0b3b51 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 26 Apr 2021 23:41:30 +0200 Subject: 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. --- doc/rivertile.1.scd | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/rivertile.1.scd b/doc/rivertile.1.scd index e94b39c..751e327 100644 --- a/doc/rivertile.1.scd +++ b/doc/rivertile.1.scd @@ -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) -- cgit v1.2.3