aboutsummaryrefslogtreecommitdiffstats
path: root/radharc.1
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-05 17:54:08 +0100
committerMattias Andrée <m@maandree.se>2025-02-05 17:54:08 +0100
commit0f60b84867f0a275a05353f5da13973c8d0d1910 (patch)
tree4baf40316a1e04eb42eb757728583b239006f85a /radharc.1
parentAdd support for SIGUSR1 and SIGUSR2 (diff)
downloadradharc-0f60b84867f0a275a05353f5da13973c8d0d1910.tar.gz
radharc-0f60b84867f0a275a05353f5da13973c8d0d1910.tar.bz2
radharc-0f60b84867f0a275a05353f5da13973c8d0d1910.tar.xz
Add support for -t get/? and transition from applied temperature when starting1.2
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'radharc.1')
-rw-r--r--radharc.131
1 files changed, 30 insertions, 1 deletions
diff --git a/radharc.1 b/radharc.1
index 1f4e030..cea8802 100644
--- a/radharc.1
+++ b/radharc.1
@@ -153,6 +153,14 @@ for local display 0 when using X.
.TP
.BR -t \ \fItemperature\fP
Colour temperature, in Kelvins, to apply.
+
+If
+.I temperature
+is
+.RB ' ? '
+or
+.RB ' get ',
+the utility will print the currently applied temperature.
.TP
.B -x
Remove the currently applied filter.
@@ -187,7 +195,28 @@ If the fade in time is 0 (default) or if the signal is
sent twice, the effect is restored immediately.
If sent during the initial fade in, the fade in is cancelled
-and the full effect is immediately applied
+and the full effect is immediately applied.
+
+.SH STDOUT
+The standard output is normally not used, however if
+.I temperature
+has been specified with
+.RB ' get '
+or
+.RB ' ? ',
+the colour temperature that was set before when the
+program started is printed to standard output on the
+following format:
+.P
+.RS
+.nf
+\fB\(dq%uK\en\(dq, \fP<\fIpreapplied temperature\fP>
+.fi
+.RE
+.P
+where it is garanteed that
+.I preapplied temperature
+is within [1000, 40000].
.SH SEE ALSO
.BR coopgammad (1),