~leon_plickat/wlopm

04e93cacd78d147cb9e1a96f58ef612101c85664 — Leon Henrik Plickat 6 months ago f968900
Make man page follow convention
1 files changed, 51 insertions(+), 29 deletions(-)

M wlopm.1
M wlopm.1 => wlopm.1 +51 -29
@@ 1,46 1,68 @@
.TH wlopm 1 2021-03-17 wlopm-0.0.1

.TH WLOPM 1 2021-07-17 "git.sr.ht/~leon_plickat/wlopm" "General Commands Manual"
.
.SH NAME
wlopm - Wayland output power management

.P
wlopm \- Wayland output power management
.
.
.SH SYNOPSIS
.SY wlopm
.OP \-j
.OP \-\-json
.OP \-\-on output-name
.OP \-\-off output-name
.OP \-\-toggle output-name
.YS
.
.SY wlopm
.OP \-h
.OP \-\-help
.SY
.
.
.SH DESCRIPTION
wlopm is a simple client implementing zwlr-output-power-management-v1. If no
operations are defined, wlopm will list all outputs and their current power
modes.

.SH USAGE
.P
wlopm is a simple client implementing \fBzwlr-output-power-management-v1\fR.
.P
If no operations are defined, wlopm will list all outputs and their current
power modes.
.
.
.SH OPTIONS
.P
\fB-h\fR, \fB--help\fR
.RS 4
.RS
Print help and exit.
.P
.RE

.
.P
\fB-j\fR, \fB--json\fR
.RS 4
.RS
Enable JSON formatting for listing outputs and errors encountered while trying
to set their power modes.
.P
.RE

\fB--on\fR <output-name>
.RS 4
Set the power mode of the output to on.
.
.P
\fB--on\fR \fIoutput-name\fR
.RS
Set the power mode of the output to on.
.RE

\fB--off\fR <output-name>
.RS 4
Set the power mode of the output to off.
.
.P
\fB--off\fR \fIoutput-name\fR
.RS
Set the power mode of the output to off.
.RE

\fB--toggle\fR <output-name>
.RS 4
Toggle the power mode of the output.
.
.P
\fB--toggle\fR \fIoutput-name\fR
.RS
Toggle the power mode of the output
.RE


.
.
.SH AUTHOR
.P
.MT leonhenrik.plickat@stud.uni-goettingen.de
Leon Henrik Plickat

.ME