I work pretty much completely using CLI programs like vim. My default terminal emulator is Urxvt. i3-resurrect doesn't retain the cwd or program that urxvt was running.
{
"border": "normal",
"current_border_width": -1,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"layout": "splitv",
"marks": [],
"name": "2",
"orientation": "vertical",
"percent": null,
"scratchpad_state": "none",
"sticky": false,
"type": "workspace",
"workspace_layout": "default",
"nodes": [
{
"border": "normal",
"current_border_width": -1,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"layout": "splith",
"marks": [],
"name": null,
"orientation": "horizontal",
"percent": 0.8,
"scratchpad_state": "none",
"sticky": false,
"type": "con",
"workspace_layout": "default",
"nodes": [
{
"border": "normal",
"current_border_width": -1,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"layout": "splitv",
"marks": [],
"name": null,
"orientation": "vertical",
"percent": 0.65,
"scratchpad_state": "none",
"sticky": false,
"type": "con",
"workspace_layout": "default",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 840,
"height": 520
},
"layout": "splith",
"marks": [],
"name": "NERD_tree_1 - (~/Documents/node/cryptochan) - VIM",
"orientation": "none",
"percent": 1.0,
"scratchpad_state": "none",
"sticky": false,
"type": "con",
"workspace_layout": "default",
"swallows": [
{
"class": "^URxvt$",
"instance": "^urxvt$"
}
]
}
]
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 840,
"height": 520
},
"layout": "splith",
"marks": [],
"name": "dan@dan-81c9: ~/Documents/node/cryptochan",
"orientation": "none",
"percent": 0.35,
"scratchpad_state": "none",
"sticky": false,
"type": "con",
"workspace_layout": "default",
"swallows": [
{
"class": "^URxvt$",
"instance": "^urxvt$"
}
]
}
]
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 840,
"height": 520
},
"layout": "splith",
"marks": [],
"name": "yarn dev",
"orientation": "none",
"percent": 0.19999999999999998,
"scratchpad_state": "none",
"sticky": false,
"type": "con",
"workspace_layout": "default",
"swallows": [
{
"class": "^URxvt$",
"instance": "^urxvt$"
}
]
}
]
}
Describe the bug
I work pretty much completely using CLI programs like vim. My default terminal emulator is Urxvt. i3-resurrect doesn't retain the
cwdor program that urxvt was running.To Reproduce
Steps to reproduce the behavior:
2"i3-resurrect save -w 2i3-resurrect restore -w 2Expected behavior
A clear and concise description of what you expected to happen.
Programs are rerun in accordance to its
cmdlineScreenshots
System information (please complete the following information):
i3-resurrect --version): i3-resurrect, version 1.4.3i3 -v): i3 version 4.19.1 (2021-02-01) © 2009 Michael Stapelberg and contributorspython -V): Python 3.9.6Additional context
Add any other context about the problem here.
Layout:
{ "border": "normal", "current_border_width": -1, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "layout": "splitv", "marks": [], "name": "2", "orientation": "vertical", "percent": null, "scratchpad_state": "none", "sticky": false, "type": "workspace", "workspace_layout": "default", "nodes": [ { "border": "normal", "current_border_width": -1, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "layout": "splith", "marks": [], "name": null, "orientation": "horizontal", "percent": 0.8, "scratchpad_state": "none", "sticky": false, "type": "con", "workspace_layout": "default", "nodes": [ { "border": "normal", "current_border_width": -1, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "layout": "splitv", "marks": [], "name": null, "orientation": "vertical", "percent": 0.65, "scratchpad_state": "none", "sticky": false, "type": "con", "workspace_layout": "default", "nodes": [ { "border": "pixel", "current_border_width": 0, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 840, "height": 520 }, "layout": "splith", "marks": [], "name": "NERD_tree_1 - (~/Documents/node/cryptochan) - VIM", "orientation": "none", "percent": 1.0, "scratchpad_state": "none", "sticky": false, "type": "con", "workspace_layout": "default", "swallows": [ { "class": "^URxvt$", "instance": "^urxvt$" } ] } ] }, { "border": "pixel", "current_border_width": 0, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 840, "height": 520 }, "layout": "splith", "marks": [], "name": "dan@dan-81c9: ~/Documents/node/cryptochan", "orientation": "none", "percent": 0.35, "scratchpad_state": "none", "sticky": false, "type": "con", "workspace_layout": "default", "swallows": [ { "class": "^URxvt$", "instance": "^urxvt$" } ] } ] }, { "border": "pixel", "current_border_width": 0, "floating": "auto_off", "fullscreen_mode": 0, "geometry": { "x": 0, "y": 0, "width": 840, "height": 520 }, "layout": "splith", "marks": [], "name": "yarn dev", "orientation": "none", "percent": 0.19999999999999998, "scratchpad_state": "none", "sticky": false, "type": "con", "workspace_layout": "default", "swallows": [ { "class": "^URxvt$", "instance": "^urxvt$" } ] } ] }Programs:
[ { "command": [ "/usr/bin/urxvt" ], "working_directory": "/home/dan" }, { "command": [ "/usr/bin/urxvt" ], "working_directory": "/home/dan" }, { "command": [ "/usr/bin/urxvt" ], "working_directory": "/home/dan" } ]This is the project I was working on incase you were wondering.