~leon_plickat/public-inbox

allow cycling through integers in layout commands v1 PROPOSED

Stephen J. Eglen: 1
 allow cycling through integers in layout commands

 1 files changed, 12 insertions(+), 12 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~leon_plickat/public-inbox/patches/48062/mbox | git am -3
Learn more about email & git

Re: [PATCH] allow cycling through integers in layout commands Export this patch

Apologies.  I sent the wrong patch.  This is what I meant to send -- a
simple patch for stacktile.1

Best wishes,

Stephen


diff --git a/doc/stacktile.1 b/doc/stacktile.1
index 59626d1..bff61fd 100644
--- a/doc/stacktile.1
+++ b/doc/stacktile.1
@@ -42,7 +42,7 @@ Print version and exit.
.
.SH CONFIGURATION
.P
stacktile uses the INI file format for configuation, meaning
stacktile uses the INI file format for configuration, meaning
variable-value-assignments sorted into sections.
.
.P
@@ -90,7 +90,7 @@ LG ULTRAWIDE"), the adaptor name (for example "HDMI-A-1") or the output
description.
These are compositor specific, use a tool like
.BR wlr-randr (1)
to see the correcct values for your setup.
to see the correct values for your setup.
.
.P
\fBlayouts\fR = \fI<layouts>\fR;
@@ -113,7 +113,7 @@ identify the layout in the output configuration.
.RS
The string stacktile will submit as the name of this layout.
This is commonly displayed in status bars.
If no display name is onfigured, the name of the layout is used.
If no display name is configured, the name of the layout is used.
.RE
.
.P
@@ -147,7 +147,7 @@ The sublayouts of the layout, separated by whitespace.
Available sublayouts are \fBfull\fR, which makes all windows take up all
available space in the sublayout; \fBstack\fR, which arranges windows similar to
a stack of cards; \fBcolumns\fR and \fBrows\fR, which arrange windows in a stack
of columns or rows (independant of gravity); And \fBorthogonal\fR and
of columns or rows (independent of gravity); And \fBorthogonal\fR and
\fBparallel\fR, which arrange windows in a stack orthogonal or parallel to the
direction of the gravity.
.P
@@ -156,7 +156,7 @@ This is an integer separated by the sublayout name with a single colon (for
example "full:2").
A sublayout will only be activated when all prior sublayouts have already
reached their maximum amount of windows.
The last sublayout may not not have such a limit, to prevent the layout from
The last sublayout may not have such a limit, to prevent the layout from
breaking if too many windows are present.
.P
The limit of the primary sublayout can be changed at runtime with user commands.
@@ -190,7 +190,7 @@ This value can be changed at runtime with user commands.
.P
\fBmetalayout-padding\fR = \fI<integer>\fR;
.RS
Padding between the sublayouts inside the metalayout, whith the exception of the
Padding between the sublayouts inside the metalayout, with the exception of the
primary sublayout.
.P
This value can be changed at runtime with user commands.
@@ -223,19 +223,19 @@ If set, the layout will only be used when this tag is active on an output.
.
.SH USER COMMANDS
.P
stacktile can be controlled at runtime via user commands, which are send via the
layout protovol.
stacktile can be controlled at runtime via user commands, which are sent via the
layout protocol.
A tool like
.BR riverctl (1)
can be used to send these.
.P
stacktile accepts multiple commads at once, separated by a semicolon.
stacktile accepts multiple commands at once, separated by a semicolon.
.
.P
\fBset\fR \fI<variable>\fR =|+=|-= \fI<value>\fR;
.RS
Set a runtime configurable variable to a new value.
Suppoerted values are \fBgravity\fR, \fBmain-limit\fR, \fBmain-ratio\fR,
Supported values are \fBgravity\fR, \fBmain-limit\fR, \fBmain-ratio\fR,
\fBouter-padding\fR, \fBmain-padding\fR, \fBmetalayout-padding\fR,
\fBsublayout-padding\fR and \fBall-padding\fR.
.P
@@ -243,7 +243,7 @@ See the matching variables in the layout configuration section for a description
and for value limitations.
.P
If directly setting integer variables, multiple possible values can be provided,
seprated by colon (for example like this: 20:40:70) and stacktile will cycle
separated by colon (for example like this: 20:40:70) and stacktile will cycle
through them.
.RE
.
@@ -251,7 +251,7 @@ through them.
\fBresize-main\fR left|right|top|bottom \fI<value>\fR;
.RS
Change the main ratio by the specified amount, so that the divide moves in the
specified direction, independant of the gravity.
specified direction, independent of the gravity.
.RE
.
.P