diff --git a/w-engine/plugin.toml b/w-engine/plugin.toml index 61ae557..1379329 100644 --- a/w-engine/plugin.toml +++ b/w-engine/plugin.toml @@ -1,6 +1,6 @@ id = "tadomika_ari/w-engine" name = "W Engine" -version = "1.1.0" +version = "1.1.1" # Tile and control callbacks are Luau closures rather than named globals, which # the host resolves from plugin API 9 onwards. plugin_api = 9 diff --git a/w-engine/start.luau b/w-engine/start.luau index 0089bdb..9d135f0 100644 --- a/w-engine/start.luau +++ b/w-engine/start.luau @@ -791,13 +791,17 @@ publishStatus() noctalia.runAsync( "pkill linux-wallpaper 2>/dev/null; sleep 1; pkill -KILL linux-wallpaper 2>/dev/null; true", function() - -- Bring back whatever was playing before the reload, cycle included. + -- Bring back whatever was playing before the reload, cycle included. The + -- palette is re-synced alongside the process: the shell restores its own + -- wallpaper on login, which drops the still we set for the live scene and + -- leaves the colors from whatever it picked instead. for _, output in ipairs(noctalia.outputs()) do local name = output.name local id = data.current[name] if type(id) == "string" and id ~= "" then elapsed[name] = 0 launch(name, id) + syncPalette(name, id) end end publishStatus()