Update redshift

This commit is contained in:
Przemek Grondek 2023-07-10 22:13:26 +02:00
parent 05f1170b61
commit b999493563
2 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
[redshift] [redshift]
; Set the day and night screen temperatures ; Set the day and night screen temperatures
temp-day=5700 temp-day=5700
temp-night=3500 temp-night=2500
; Disable the smooth fade between temperatures when Redshift starts and stops. ; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures. ; 0 will cause an immediate change between screen temperatures.
@ -31,12 +31,12 @@ fade=1
;brightness-night=0.4 ;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel ; Set the screen gamma (for all colors, or each color channel
; individually) ; individually)
gamma=0.8 ;gamma=0.8
;gamma=0.8:0.7:0.8 ;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since ; This can also be set individually for day and night since
; version 1.10. ; version 1.10.
;gamma-day=0.8:0.7:0.8 gamma-day=0.8:0.7:0.8
;gamma-night=0.6 gamma-night=0.6
; Set the location-provider: 'geoclue2', 'manual' ; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values. ; type 'redshift -l list' to see possible values.

View file

@ -8,7 +8,6 @@ if [[ "$DESKTOP_SESSION" = "dwm" || "$DESKTOP_SESSION" == "dwm-gnome" ]]; then
wmname LG3D wmname LG3D
picom -b picom -b
redshift &
dwmstatus & dwmstatus &
dunst & dunst &
numlockx on & numlockx on &
@ -62,6 +61,9 @@ if [[ "$DESKTOP_SESSION" = "dwm" || "$DESKTOP_SESSION" == "dwm-gnome" ]]; then
elif test -f /usr/share/backgrounds/gnome/Road.jpg ; then elif test -f /usr/share/backgrounds/gnome/Road.jpg ; then
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg & feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
fi fi
# Add redshift
redshift -c ${HOME}/.config/redshift.conf &
fi fi
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap [[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap