summaryrefslogtreecommitdiff
path: root/common/bin/red
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-07-22 00:56:22 +0200
committerSimon Parri <simonparri@ganzeria.com>2025-07-22 11:49:01 +0200
commitd2c331b9f036951eef062dd5141c75182375ba12 (patch)
tree325bf3c56b70ec845e8de9349f45408ed844e747 /common/bin/red
downloaddotfiles-d2c331b9f036951eef062dd5141c75182375ba12.tar.gz
dotfiles-d2c331b9f036951eef062dd5141c75182375ba12.zip
Add current configuration
Diffstat (limited to 'common/bin/red')
-rwxr-xr-xcommon/bin/red13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/bin/red b/common/bin/red
new file mode 100755
index 0000000..21320cf
--- /dev/null
+++ b/common/bin/red
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$1" in
+ on)
+ redshift -PO 2500K
+ ;;
+ off)
+ redshift -x
+ ;;
+ *)
+ echo "Argument must either be 'on' or 'off'" >&2
+ exit 1
+esac