mirror of https://github.com/lcpz/lain.git
fixing redshit spawn_with_shell to be compliant with awesome v4.0
This commit is contained in:
parent
f849e631d6
commit
61a2868452
|
@ -25,9 +25,9 @@ local function init()
|
||||||
-- toggled off (i.e Awesome on-the-fly restart), kill redshift to make sure
|
-- toggled off (i.e Awesome on-the-fly restart), kill redshift to make sure
|
||||||
os.execute("pkill redshift")
|
os.execute("pkill redshift")
|
||||||
-- Remove existing color adjustment
|
-- Remove existing color adjustment
|
||||||
awful.spawn_with_shell("redshift -x")
|
awful.util.spawn_with_shell("redshift -x")
|
||||||
-- (Re)start redshift
|
-- (Re)start redshift
|
||||||
awful.spawn_with_shell("redshift")
|
awful.util.spawn_with_shell("redshift")
|
||||||
running = true
|
running = true
|
||||||
active = true
|
active = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue