mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-25 19:14:39 +02:00
replace redshift with gammastep for wayland compatibility
This commit is contained in:
parent
1da0be6800
commit
9618bbc847
5 changed files with 23 additions and 23 deletions
19
gammastep/hook.sh
Executable file
19
gammastep/hook.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue