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]
; Set the day and night screen temperatures
temp-day=5700
temp-night=3500
temp-night=2500
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
@ -31,12 +31,12 @@ fade=1
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6
gamma-day=0.8:0.7:0.8
gamma-night=0.6
; Set the location-provider: 'geoclue2', 'manual'
; 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
picom -b
redshift &
dwmstatus &
dunst &
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
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
fi
# Add redshift
redshift -c ${HOME}/.config/redshift.conf &
fi
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap