From e2d9d4f1c815f8f84c230052d5c74cfcc7baf18b Mon Sep 17 00:00:00 2001 From: aajjbb Date: Thu, 12 Jan 2017 18:52:23 -0200 Subject: [PATCH] changing from awful.util.spawn_with_shell to awful.spawn.with_shell --- widgets/contrib/redshift.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/contrib/redshift.lua b/widgets/contrib/redshift.lua index 0b54015..25ae023 100644 --- a/widgets/contrib/redshift.lua +++ b/widgets/contrib/redshift.lua @@ -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 -- 2.39.2