aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/redshift.conf11
-rwxr-xr-x.config/redshift/hooks/notify_hook.sh5
2 files changed, 16 insertions, 0 deletions
diff --git a/.config/redshift.conf b/.config/redshift.conf
new file mode 100644
index 0000000..4fef4b4
--- /dev/null
+++ b/.config/redshift.conf
@@ -0,0 +1,11 @@
+[redshift]
+temp-day=5200
+temp-night=4400
+gamma=0.9
+adjustment-method=randr
+location-provider=manual
+brightness-night=1.0
+
+[manual]
+lat=35.69439
+lon=51.42151
diff --git a/.config/redshift/hooks/notify_hook.sh b/.config/redshift/hooks/notify_hook.sh
new file mode 100755
index 0000000..350f335
--- /dev/null
+++ b/.config/redshift/hooks/notify_hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+case $1 in
+ period-changed)
+ exec notify-send "Redshift" "Period changed to $3"
+esac