fix(resurrect): fix breaking changes in resurrect plugin
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ local function file_exists(file)
|
||||
end
|
||||
|
||||
if file_exists(key) then
|
||||
RESURRECT.set_encryption({
|
||||
RESURRECT.state_manager.set_encryption({
|
||||
enable = true,
|
||||
method = "age", -- "age" is the default encryption method, but you can also specify "rage" or "gpg"
|
||||
private_key = key, -- if using "gpg", you can omit this
|
||||
|
||||
@@ -8,7 +8,7 @@ local M = {}
|
||||
RESURRECT = WEZTERM.plugin.require("https://github.com/MLFlexer/resurrect.wezterm")
|
||||
|
||||
-- Set the periodic save interval
|
||||
RESURRECT.periodic_save({ interval_seconds = 60, save_workspaces = true, save_windows = true })
|
||||
RESURRECT.state_manager.periodic_save({ interval_seconds = 60, save_workspaces = true, save_windows = true })
|
||||
|
||||
-- load the state whenever I create a new workspace
|
||||
WEZTERM.on("smart_workspace_switcher.workspace_switcher.created", function(window, _, label)
|
||||
|
||||
Reference in New Issue
Block a user