correct script redshift
This commit is contained in:
parent
3c7f840169
commit
7968d2d555
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user