Fix flickering of Redshift controlled night time
When we queried Redshift for the current time of day, the screen became even redder for a short time because it wasn’t using the right switches.
This commit is contained in:
parent
343f208cd8
commit
6c8fbe773e
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
# https://gitlab.com/bimlas/xfce4-night-mode (main repository)
|
||||
# https://github.com/bimlas/xfce4-night-mode (mirror, please star if you like the plugin)
|
||||
|
||||
if ( LC_ALL='C' redshift -vo 2> /dev/null | grep 'Period: Night' > /dev/null ); then
|
||||
if ( LC_ALL='C' redshift -p 2> /dev/null | grep 'Period: Night' > /dev/null ); then
|
||||
mode='night'
|
||||
else
|
||||
mode='day'
|
||||
|
|
|
|||
Loading…
Reference in a new issue