summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-x.config/redshift/hooks/notif.sh6
-rw-r--r--.config/redshift/redshift.conf18
-rw-r--r--.config/sway/hibiki2
3 files changed, 25 insertions, 1 deletions
diff --git a/.config/redshift/hooks/notif.sh b/.config/redshift/hooks/notif.sh
new file mode 100755
index 0000000..7111117
--- /dev/null
+++ b/.config/redshift/hooks/notif.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+case "$1" in
+	period-changed)
+		exec notify-send "redshift" "changed to $3" ;;
+esac
diff --git a/.config/redshift/redshift.conf b/.config/redshift/redshift.conf
new file mode 100644
index 0000000..16c4d0d
--- /dev/null
+++ b/.config/redshift/redshift.conf
@@ -0,0 +1,18 @@
+[redshift]
+adjustment-method=wayland
+gamma=0.8
+fade=1
+
+brightness-day=1.0
+# gamma-day=
+temp-day=6500
+
+brightness-night=1.0
+# gamma-night=
+temp-night=4100
+
+location-provider=manual
+
+[manual]
+lat=52.5
+lon=13.4
diff --git a/.config/sway/hibiki b/.config/sway/hibiki
index 2363366..3bd605b 100644
--- a/.config/sway/hibiki
+++ b/.config/sway/hibiki
@@ -36,7 +36,7 @@ bar {
 	swaybar_command waybar
 }
 
-exec redshift -l 52.52:13.40
+exec redshift
 exec mako
 exec kanshi
 exec swayidle -w \