From e0f99ff9980aec94ddf9c1acf191f3001f5060ca Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 18 Mar 2023 12:51:31 +0330 Subject: updates --- .config/redshift.conf | 11 +++++++++++ .config/redshift/hooks/notify_hook.sh | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 .config/redshift.conf create mode 100755 .config/redshift/hooks/notify_hook.sh (limited to '.config') 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 -- cgit v1.2.3