Skip to content

Commit

Permalink
Updated manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
eribertomota committed Feb 5, 2021
1 parent a5782a7 commit d5ef116
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
4 changes: 2 additions & 2 deletions man/create-man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ txt2man -d "$T2M_DATE" -t $T2M_NAME -r $T2M_NAME-$T2M_VERSION -s $T2M_LEVEL -v "
#--------------------------------------------------------

# Put here all data for your first manpage (in T2M lines)
T2M_DATE="18 July 2020"
T2M_DATE="04 Feb 2021"
T2M_NAME=scrot
T2M_VERSION=1.4
T2M_VERSION=1.5
T2M_LEVEL=1
T2M_DESC="command line screen capture utility"
create-man
19 changes: 15 additions & 4 deletions man/scrot.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" Text automatically generated by txt2man
.TH scrot 1 "18 July 2020" "scrot-1.4" "command line screen capture utility"
.TH scrot 1 "04 Feb 2021" "scrot-1.5" "command line screen capture utility"
.SH NAME
\fBscrot \fP- command line screen capture utility
\fB
Expand Down Expand Up @@ -98,7 +98,7 @@ Use the currently focused window.
\fB-t\fP, \fB--thumb\fP NUM|GEOM
Generate thumbnail too. NUM is the percentage of the
original size for the thumbnail to be. Alternatively,
a GEOMetry can be specified, example: 300x200
a GEOMetry can be specified, example: 300x200.
.TP
.B
\fB-z\fP, \fB--silent\fP
Expand All @@ -120,6 +120,10 @@ Draw a text note. See NOTE FORMAT.
\fB-k\fP, \fB--stack\fP
Capture stack/overlapped windows and join them together.
A running Composite Manager is needed.
.TP
.B
\fB-C\fP, \fB--class\fP NAME
Window class name. Associative with \fIoptions\fP: \fB-k\fP.
.SH SPECIAL STRINGS
Both the \fB--exec\fP and filename parameters can take format specifiers that are
expanded by \fBscrot\fP when encountered. There are two types of format specifier.
Expand Down Expand Up @@ -161,18 +165,25 @@ The following specifiers are recognised:
.PP
.nf
.fam C
style=(solid,dash),width=(range 1 to 8),color="value"
style=(solid,dash),width=(range 1 to 8),color="value",
opacity=(range 10 to 100),mode=(edge,classic)

.fam T
.fi
The default style is:
.PP
.nf
.fam C
style=solid,width=1
mode=classic,style=solid,width=1,opacity=100

.fam T
.fi
Mode 'edge' ignore: style, \fB--freeze\fP
.PP
Mode 'classic' ignore: opacity
.PP
The 'opacity' specifier is only effective if a Composite Manager is running.
.PP
For the color you can use a name or a hexadecimal value.
.PP
.nf
Expand Down
4 changes: 2 additions & 2 deletions man/scrot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ OPTIONS
-u, --focused Use the currently focused window.
-t, --thumb NUM|GEOM Generate thumbnail too. NUM is the percentage of the
original size for the thumbnail to be. Alternatively,
a GEOMetry can be specified, example: 300x200
a GEOMetry can be specified, example: 300x200.
-z, --silent Prevent beeping.
-p, --pointer Capture the mouse pointer.

-o, --overwrite By default scrot does not overwrite the files, use this option to allow it.
-n, --note Draw a text note. See NOTE FORMAT.
-k, --stack Capture stack/overlapped windows and join them together.
A running Composite Manager is needed.
-C, --class NAME Window class name. Associative with options: -k
-C, --class NAME Window class name. Associative with options: -k.

SPECIAL STRINGS
Both the --exec and filename parameters can take format specifiers that are
Expand Down

0 comments on commit d5ef116

Please sign in to comment.