replace redshift with gammastep for wayland compatibility

This commit is contained in:
Felix Buehler 2020-12-03 19:08:41 +01:00
parent 1da0be6800
commit 9618bbc847
5 changed files with 23 additions and 23 deletions

16
gammastep/gammastep.ini Normal file
View file

@ -0,0 +1,16 @@
[redshift]
temp-day=5700
brightness-day=1
temp-night=3000
brightness-night=0.8
transition=1
location-provider=geoclue2
;location-provider=manual
adjustment-method=randr
[manual]
lat=48.7
lon=9.1
[randr]
screen=

19
gammastep/hook.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
notify(){
notify-send \
--app-name=redshift \
--urgency=low \
--icon=redshift \
--hint=int:transient:1 \
"${1}" "${2}"
}
case $1 in
period-changed)
notify "Gammastep" "Period changed to $3"
;;
*)
notify "Gammastep" "Gammastep just fired an unknown hook with these options: '$*'. Ah, of course, this notification is just here, to troll you! :-P"
;;
esac