From c2f8030e58cb360001f6e5caa5709914c2ba29f2 Mon Sep 17 00:00:00 2001 From: Breizh Date: Sat, 26 Feb 2022 22:47:57 +0100 Subject: [PATCH] Ajout redshift --- .config/redshift.conf | 14 ++++++++++++++ .config/redshift/hooks/notif.sh | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 .config/redshift.conf create mode 100755 .config/redshift/hooks/notif.sh diff --git a/.config/redshift.conf b/.config/redshift.conf new file mode 100644 index 0000000..0a45cfd --- /dev/null +++ b/.config/redshift.conf @@ -0,0 +1,14 @@ +[redshift] +temp-day=5000 +temp-night=4000 + +transition=1 + +location-provider=manual + +adjustment-method=randr + +[manual] +lat=48.10038 +lon=-1.66612 + diff --git a/.config/redshift/hooks/notif.sh b/.config/redshift/hooks/notif.sh new file mode 100755 index 0000000..ded1f5d --- /dev/null +++ b/.config/redshift/hooks/notif.sh @@ -0,0 +1,5 @@ +#!/bin/sh +case $1 in + period-changed) + exec dunstify -u low -r 6903 "Redshift" "Period changed to $3" +esac