mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +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
16
gammastep/gammastep.ini
Normal file
16
gammastep/gammastep.ini
Normal 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
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