From 61a2868452d9c4548dbf22c3119739e79f6ff902 Mon Sep 17 00:00:00 2001 From: aajjbb Date: Thu, 12 Jan 2017 18:01:40 -0200 Subject: [PATCH] fixing redshit spawn_with_shell to be compliant with awesome v4.0 --- 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 3c4f749..0b54015 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.spawn_with_shell("redshift -x") + awful.util.spawn_with_shell("redshift -x") -- (Re)start redshift - awful.spawn_with_shell("redshift") + awful.util.spawn_with_shell("redshift") running = true active = true end -- 2.39.2