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

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