From 0f60b84867f0a275a05353f5da13973c8d0d1910 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Feb 2025 17:54:08 +0100 Subject: Add support for -t get/? and transition from applied temperature when starting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- radharc.1 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'radharc.1') 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), -- cgit v1.2.3-70-g09d2