aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-01 09:41:57 +0100
committerMattias Andrée <maandree@kth.se>2016-12-01 09:41:57 +0100
commitda46c42c1b483c46bfdaed20321e3f785417ca10 (patch)
tree571d9ecfda5a85bcbb439e3d73945637575ece78
parentAdd cg-brilliance.1 (diff)
downloadcg-tools-da46c42c1b483c46bfdaed20321e3f785417ca10.tar.gz
cg-tools-da46c42c1b483c46bfdaed20321e3f785417ca10.tar.bz2
cg-tools-da46c42c1b483c46bfdaed20321e3f785417ca10.tar.xz
Add cg-darkroom.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--man/cg-darkroom.180
1 files changed, 80 insertions, 0 deletions
diff --git a/man/cg-darkroom.1 b/man/cg-darkroom.1
new file mode 100644
index 0000000..6e42b6d
--- /dev/null
+++ b/man/cg-darkroom.1
@@ -0,0 +1,80 @@
+.TH CG-DARKROOM 1 CG-TOOLS
+.SH NAME
+cg-darkroom - Invert colour on the monitors and make them dark red,
+.SH SYNOPSIS
+.B cg-darkroom
+.RB [ \-M
+.IR method ]
+.RB [ \-S
+.IR site ]
+.RB [ \-c
+.IR crtc "]... ["\fB\-R\fP
+.IR rule ]
+.RB ( \-x
+|
+.RB [ \-p
+.IR priority ]
+.RB [ \-d ]
+.RI [ brightness ]
+.SH DESCRIPTION
+.B cg-darkroom
+inverts the colours on the monitors, dim them, and turns of
+the green and blue channels. The monitors are dimmed to the
+brilliance of
+.IR brightness ,
+or 0.25 if not specified. A value of 0 means complete darkness,
+and 1 means normal brilliance.
+.SH OPTIONS
+.TP
+.BR \-c " "\fIcrtc\fP
+Apply the filter to the CRTC with the monitor whose EDID is
+.IR crtc .
+By default, the filter is applied to all monitors.
+.TP
+.B \-d
+Keep the process alive and remove the filter on death.
+.TP
+.BR \-M " "\fImethod\fP
+Adjustment method name or number. Recognised names include:
+
+.nf
+\fBdummy\fP Dummy method
+\fBrandr\fP X RAndR
+\fBvidmode\fP X VidMode
+\fBdrm\fP Linux DRM
+\fBgdi\fP Windows GDI
+\fBquartz\fP Quartz Core Graphics
+.fi
+
+The adjustment methods are supported via
+.BR libgamma (7).
+Only methods that were enabled when
+.B libgamma
+was compiled will be supported.
+.TP
+.BR \-p " "\fIpriority\fP
+Set the priority of the filter. Filters with lower priority
+are applied before filters with higher priority. The value
+must be a signed 64-bit integer (between -9223372036854775807
+and 9223372036854775808).
+.BR cg-darkroom 's
+default priority is 6917529027641081856.
+.TP
+.BR \-R " "\fIrule\fP
+Set the rule of of the filter to
+.IR rule .
+This is the last part of the filter's identifier (class).
+The default rule is
+.BR standard .
+.TP
+.BR \-S " "\fIsite\fP
+Select the site to which to connect. For example
+.RB ' :0 ',
+for local display 0 when using
+.BR X .
+.TP
+.B \-x
+Remove the currently applied filter.
+.SH BUGS
+Please report bugs to https://github.com/maandree/cg-tools/issues
+or to maandree@kth.se