From a1cff046189debbac653b078f0bec5b6fe40c391 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 23 Apr 2020 13:19:56 +0200 Subject: Add redshift config --- .config/redshift/hooks/notif.sh | 6 ++++++ .config/redshift/redshift.conf | 18 ++++++++++++++++++ .config/sway/hibiki | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 .config/redshift/hooks/notif.sh create mode 100644 .config/redshift/redshift.conf 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 \ -- cgit 1.4.1