correct script redshift

This commit is contained in:
vincent 2018-11-09 21:39:15 +01:00
parent 3c7f840169
commit 7968d2d555

View File

@ -1,10 +1,9 @@
-- Toggle redshift when viewing videos with mpv
if os.execute("pgrep -x redshift >/dev/null") ~= 0
if os.execute("pgrep -x redshift >/dev/null") == 0
then
return
return
end
-- Consider that redshift is enabled when starting
rs_enabled = true