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