Cybrkyd's Git Repositories

xsct-sunset - commit: c352294

commit c352294e445f8c884df30f82ba1395c5b7b2e6cbe4a5faf9880c7b3b2d6b0724
author cybrkyd <noreply@cybrkyd.com> 2026-01-16 10:08:08 +0000
committer cybrkyd <noreply@cybrkyd.com> 2026-01-16 10:08:08 +0000

Commit Message

xsct-sunset

📊 Diffstat

readme.txt 5
xsct.sh 8
2 files changed, 13 insertions(+), 0 deletions(-)

Diff

commit c352294e445f8c884df30f82ba1395c5b7b2e6cbe4a5faf9880c7b3b2d6b0724
Author: cybrkyd <noreply@cybrkyd.com>
Date: Fri Jan 16 10:08:08 2026 +0000
xsct-sunset
diff --git a/readme.txt b/readme.txt
new file mode 100644
index 0000000..1618f0b
--- /dev/null
+++ b/readme.txt
@@ -0,0 +1,5 @@
+ ---------
+ xsct.sh
+ ---------
+
+ A bash script for running `xsct` to set display colour temperature.
diff --git a/xsct.sh b/xsct.sh
new file mode 100644
index 0000000..b66bf16
--- /dev/null
+++ b/xsct.sh
@@ -0,0 +1,8 @@
+ #!/bin/sh
+
+ # Run this with CRON. For example, near sunset:
+ # 0 16 * * * /home/user/shell-scripts/xsct.sh
+
+ export DISPLAY=:0.0
+ xsct 4600 &
+