diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-07-22 00:56:22 +0200 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-07-22 11:49:01 +0200 |
commit | d2c331b9f036951eef062dd5141c75182375ba12 (patch) | |
tree | 325bf3c56b70ec845e8de9349f45408ed844e747 /common/bin/red | |
download | dotfiles-d2c331b9f036951eef062dd5141c75182375ba12.tar.gz dotfiles-d2c331b9f036951eef062dd5141c75182375ba12.zip |
Add current configuration
Diffstat (limited to 'common/bin/red')
-rwxr-xr-x | common/bin/red | 13 |
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 |