aboutsummaryrefslogtreecommitdiff
path: root/st.1
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2014-04-25 22:34:24 +0200
committerChristoph Lohmann <20h@r-36.net>2014-04-25 22:34:24 +0200
commitfe31a3f6344b0a1dbe72540aad63812f1edb6c12 (patch)
tree2e7c2880cc91b8ac74bf12fd864279ce517bbf83 /st.1
parent6b7f63bac597ca03e18fe63ad522b4d1bded08d1 (diff)
downloadst-patched-fe31a3f6344b0a1dbe72540aad63812f1edb6c12.tar.bz2
st-patched-fe31a3f6344b0a1dbe72540aad63812f1edb6c12.tar.xz
st-patched-fe31a3f6344b0a1dbe72540aad63812f1edb6c12.zip
Conformity in the -g geometry handling.
Thanks to Yuri Karaban for suggesting this! These changes make -g correspond to <cols>x<rows> and honor it so non-tiling window managers can work with the size hints afterwards. It also adds a -i flag to force the window size. This is needed so -g keeps being useful in dwm.
Diffstat (limited to 'st.1')
-rw-r--r--st.18
1 files changed, 6 insertions, 2 deletions
diff --git a/st.1 b/st.1
index ab90908..7174da2 100644
--- a/st.1
+++ b/st.1
@@ -10,6 +10,7 @@ st \- simple terminal
10.IR font ] 10.IR font ]
11.RB [ \-g 11.RB [ \-g
12.IR geometry ] 12.IR geometry ]
13.RB [ \-i ]
13.RB [ \-o 14.RB [ \-o
14.IR file ] 15.IR file ]
15.RB [ \-t 16.RB [ \-t
@@ -36,11 +37,14 @@ defines the
36to use when st is run. 37to use when st is run.
37.TP 38.TP
38.BI \-g " geometry" 39.BI \-g " geometry"
39defines the X11 geometry string, which will fixate the height and width of st. 40defines the X11 geometry string.
40The form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See 41The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
41.BR XParseGeometry (3) 42.BR XParseGeometry (3)
42for further details. 43for further details.
43.TP 44.TP
45.B \-f
46will fixate the position given with the -g option.
47.TP
44.BI \-o " file" 48.BI \-o " file"
45writes all the I/O to 49writes all the I/O to
46.I file. 50.I file.