aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-03-18 09:21:31 +0000
committerterminaldweller <devi@terminaldweller.com>2023-03-18 09:21:31 +0000
commite0f99ff9980aec94ddf9c1acf191f3001f5060ca (patch)
tree6a8139d8ea4e915413b2d33a5af0d36bc1c5a001 /.config
parentupdates (diff)
downloadscripts-e0f99ff9980aec94ddf9c1acf191f3001f5060ca.tar.gz
scripts-e0f99ff9980aec94ddf9c1acf191f3001f5060ca.zip
updates
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