aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-04-30 20:55:06 +0100
committerAutumn <git@autumnfo.rest>2026-04-30 20:55:06 +0100
commitd25b33573e37aa64e6c6e840bfb976512de69e2d (patch)
treeec9809b797d4d35eb137b92a15acfdc966d7d467
parenta25b4f9003279482bb7de979edd6716844a521c1 (diff)
[conf/gammastep] added gammastep config
-rw-r--r--README.md4
-rwxr-xr-xinstall.nu15
-rw-r--r--src/gammastep/020_config.ini23
3 files changed, 39 insertions, 3 deletions
diff --git a/README.md b/README.md
index 543eff8..3edc508 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
# Dotfiles
-My personal collection of dotfiles.
+My personal collection of dotfiles:
+
+- `gammastep`: a blue-light reduction utility.
diff --git a/install.nu b/install.nu
index c09310c..674b966 100755
--- a/install.nu
+++ b/install.nu
@@ -20,7 +20,18 @@ let DEVICE_ID = match (uname | get nodename) {
# get locations
let DOTFILES_DIR = match ($DEVICE_ID) {
- "010" | "020" => $"($env.HOME)/src/dotfiles",
- "110" | "120" => $"($env.HOME)/dotfiles",
+ "010" | "020" => $"($env.HOME)/src/dotfiles/src",
+ "110" | "120" => $"($env.HOME)/dotfiles/src",
_ => { error make -u { msg: "unsupported device" } }
}
+
+#
+# ~~~ dotfiles
+
+# gammastep
+if ($DEVICE_ID == "010" or $DEVICE_ID == "020") {
+
+ mkdir $"($env.HOME)/.config/gammastep"
+ cp $"($DOTFILES_DIR)/gammastep/($DEVICE_ID)_config.ini" $"($env.HOME)/.config/gammastep/config.ini"
+
+}
diff --git a/src/gammastep/020_config.ini b/src/gammastep/020_config.ini
new file mode 100644
index 0000000..81febf7
--- /dev/null
+++ b/src/gammastep/020_config.ini
@@ -0,0 +1,23 @@
+#
+# ~~~ gammastep config
+#
+
+# temperature
+[general]
+temp-day=6500
+temp-night=5000
+
+fade=1
+dawn-time=07:00
+dusk-time=22:00
+
+# location
+location-provider=manual
+
+[manual]
+lat=51.1
+lon=1.2
+
+# output
+[wayland]
+output=*