From 4f7ffeb1e966b43c2d0962d40d355a5e7dfd0721 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 13 Dec 2021 16:41:36 -0500 Subject: redshift --- .chezmoidata.toml | 2 ++ dot_config/redshift.conf | 13 ------------- dot_config/redshift.conf.tmpl | 13 +++++++++++++ 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 .chezmoidata.toml delete mode 100644 dot_config/redshift.conf create mode 100644 dot_config/redshift.conf.tmpl diff --git a/.chezmoidata.toml b/.chezmoidata.toml new file mode 100644 index 0000000..84c4c95 --- /dev/null +++ b/.chezmoidata.toml @@ -0,0 +1,2 @@ +latitude = "45.5017" +longitude = "-73.5673" diff --git a/dot_config/redshift.conf b/dot_config/redshift.conf deleted file mode 100644 index a462165..0000000 --- a/dot_config/redshift.conf +++ /dev/null @@ -1,13 +0,0 @@ -[redshift] -adjustment-method=randr -location-provider=manual -brightness-day=1.0 -brightness-night=0.5 -transition=1 -gamma-night=2.0 -temp-day=6500 -temp-night=2500 - -[manual] -lat=40.4460 -lon=-79.9959 diff --git a/dot_config/redshift.conf.tmpl b/dot_config/redshift.conf.tmpl new file mode 100644 index 0000000..5c8b2a1 --- /dev/null +++ b/dot_config/redshift.conf.tmpl @@ -0,0 +1,13 @@ +[redshift] +adjustment-method=randr +location-provider=manual +brightness-day=1.0 +brightness-night=0.5 +transition=1 +gamma-night=2.0 +temp-day=6500 +temp-night=2500 + +[manual] +lat={{ .latitude }} +lon=-{{ .longitude }} -- cgit v1.2.3