fixing redshit spawn_with_shell to be compliant with awesome v4.0

This commit is contained in:
aajjbb 2017-01-12 18:01:40 -02:00
parent f849e631d6
commit 61a2868452
1 changed files with 2 additions and 2 deletions

View File

@ -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