diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rwxr-xr-x | install.nu | 15 | ||||
| -rw-r--r-- | src/gammastep/020_config.ini | 23 |
3 files changed, 39 insertions, 3 deletions
@@ -1,4 +1,6 @@ # Dotfiles -My personal collection of dotfiles. +My personal collection of dotfiles: + +- `gammastep`: a blue-light reduction utility. @@ -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=* |
