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