From: aajjbb Date: Thu, 12 Jan 2017 20:01:40 +0000 (-0200) Subject: fixing redshit spawn_with_shell to be compliant with awesome v4.0 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/61a2868452d9c4548dbf22c3119739e79f6ff902?hp=-c fixing redshit spawn_with_shell to be compliant with awesome v4.0 --- 61a2868452d9c4548dbf22c3119739e79f6ff902 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