JonnyHaystack/i3-resurrect

Time is wasted by unnecessarily getting window info with wmctrl when restoring layout

Closed this issue · 0 comments

Describe the bug
Time taken to restore a layout increases rapidly with the number of windows currently open on the workspace. This is because I am unnecessarily using wmctrl to get window info that I do not need for restoring the layout, due to having reused the same function that is used when saving programs.

Expected behavior
The time delay added by each window on the workspace should be much smaller and layouts should be restored much faster.