From 6cb604cdeb78b151d7e179d4f34f00101c912282 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 23 Feb 2021 13:34:45 +0100 Subject: move from redshift to gammastep --- .config/gammastep/config.ini | 18 ++++++++++++++++++ .config/gammastep/hooks/notif.sh | 10 ++++++++++ .config/redshift/hooks/notif.sh | 10 ---------- .config/redshift/redshift.conf | 18 ------------------ 4 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 .config/gammastep/config.ini create mode 100755 .config/gammastep/hooks/notif.sh delete mode 100755 .config/redshift/hooks/notif.sh delete mode 100644 .config/redshift/redshift.conf diff --git a/.config/gammastep/config.ini b/.config/gammastep/config.ini new file mode 100644 index 0000000..2d08e66 --- /dev/null +++ b/.config/gammastep/config.ini @@ -0,0 +1,18 @@ +[redshift] +adjustment-method=wayland +gamma=0.9 +fade=1 + +brightness-day=1.0 +# gamma-day= +temp-day=6600 + +brightness-night=1.0 +# gamma-night= +temp-night=4100 + +location-provider=manual + +[manual] +lat=52.54 +lon=13.44 diff --git a/.config/gammastep/hooks/notif.sh b/.config/gammastep/hooks/notif.sh new file mode 100755 index 0000000..de04d6c --- /dev/null +++ b/.config/gammastep/hooks/notif.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +case "$1" in + period-changed) + case "$3" in + transition|night) pkill -USR2 waybar-redshift ;; + none|day) pkill -USR1 waybar-redshift ;; + esac + ;; +esac diff --git a/.config/redshift/hooks/notif.sh b/.config/redshift/hooks/notif.sh deleted file mode 100755 index de04d6c..0000000 --- a/.config/redshift/hooks/notif.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -case "$1" in - period-changed) - case "$3" in - transition|night) pkill -USR2 waybar-redshift ;; - none|day) pkill -USR1 waybar-redshift ;; - esac - ;; -esac diff --git a/.config/redshift/redshift.conf b/.config/redshift/redshift.conf deleted file mode 100644 index 9f9ac38..0000000 --- a/.config/redshift/redshift.conf +++ /dev/null @@ -1,18 +0,0 @@ -[redshift] -adjustment-method=wayland -gamma=0.9 -fade=1 - -brightness-day=1.0 -# gamma-day= -temp-day=6600 - -brightness-night=1.0 -# gamma-night= -temp-night=4100 - -location-provider=manual - -[manual] -lat=52.5 -lon=13.4 -- cgit 1.4.1