From a42da0d4cef4f33394679feb65de6ca95588bb09 Mon Sep 17 00:00:00 2001 From: feld Date: Tue, 16 Jan 2018 22:24:57 +0000 Subject: This is a port of sct, a simple command-line utility written by Ted Unangst, which can be used to control screen temperature. It exceeds at being much more lightweight than similar software solutions like Redshift and f.lux. At the same time it is easier to use than xrandr. Sct takes temperature values in range 1000 to 10000, where 6500 is the default value. Here are some usage examples: * Campfire style: `sct 4500` * Dust storm on Mars style: `sct 2000` * Coffee free all nighter style: `sct 8000` * Default style: `sct` WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature --- accessibility/Makefile | 1 + accessibility/sct/Makefile | 22 ++++++++++++++++++++++ accessibility/sct/distinfo | 3 +++ accessibility/sct/pkg-descr | 14 ++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 accessibility/sct/Makefile create mode 100644 accessibility/sct/distinfo create mode 100644 accessibility/sct/pkg-descr (limited to 'accessibility') diff --git a/accessibility/Makefile b/accessibility/Makefile index 7ec1ed759d0a..38666cf64103 100644 --- a/accessibility/Makefile +++ b/accessibility/Makefile @@ -28,6 +28,7 @@ SUBDIR += qt5-speech SUBDIR += redshift SUBDIR += rubygem-atk + SUBDIR += sct SUBDIR += speech-dispatcher SUBDIR += yasr diff --git a/accessibility/sct/Makefile b/accessibility/sct/Makefile new file mode 100644 index 000000000000..64a13274f827 --- /dev/null +++ b/accessibility/sct/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= sct +PORTVERSION= 0.1.0 +CATEGORIES= accessibility + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Utility to change screen temperature + +LICENSE= UNLICENSE + +USE_GITHUB= yes +GH_ACCOUNT= 0mp + +USE_XORG= x11 xrandr + +PLIST_FILES= bin/sct + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sct + +.include diff --git a/accessibility/sct/distinfo b/accessibility/sct/distinfo new file mode 100644 index 000000000000..c23f1d9616f7 --- /dev/null +++ b/accessibility/sct/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1516135722 +SHA256 (0mp-sct-0.1.0_GH0.tar.gz) = 982bae0448daff0b41eabe492b8b33223e2dad010e861fd6f09e8d9d0d7ca6c1 +SIZE (0mp-sct-0.1.0_GH0.tar.gz) = 2167 diff --git a/accessibility/sct/pkg-descr b/accessibility/sct/pkg-descr new file mode 100644 index 000000000000..b582c0c1b5de --- /dev/null +++ b/accessibility/sct/pkg-descr @@ -0,0 +1,14 @@ +This is a port of sct, a simple command-line utility written by Ted Unangst, +which can be used to control screen temperature. It exceeds at being much more +lightweight than similar software solutions like Redshift and f.lux. At the +same time it is easier to use than xrandr. + +Sct takes temperature values in range 1000 to 10000, where 6500 is the default +value. Here are some usage examples: + + * Campfire style: `sct 4500` + * Dust storm on Mars style: `sct 2000` + * Coffee free all nighter style: `sct 8000` + * Default style: `sct` + +WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature -- cgit