scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 32bbbd6c3fddb78a8da2af05296b33c2ec0e1d44
parent 2df23367f35c571d640b92c4c16082c056065df1
Author: cipher <haris@2f30.org>
Date:   Thu, 11 May 2017 13:06:10 +0300

Add small script for sct

Diffstat:
Asct.sh | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/sct.sh b/sct.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# Needs sct. The following script changes color temperature. + +while true +do + if [ $(date '+%H') -gt 16 ] || [ $(date '+%H') -lt 10 ] + then + sct 4400 + else + sct 6500 + fi + sleep 60 +done