Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only restore programs that are not running? #62

Closed
JonnyHaystack opened this issue Nov 16, 2019 · 1 comment
Closed

Only restore programs that are not running? #62

JonnyHaystack opened this issue Nov 16, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JonnyHaystack
Copy link
Owner

JonnyHaystack commented Nov 16, 2019

Is your feature request related to a problem? Please describe.
It can be a bit annoying that all programs are restored regardless of whether they are already open or not. It would be more convenient to have only missing programs restored.

Describe the solution you'd like

  1. Get list of programs to restore
  2. Get open windows
  3. Get commands for open windows
  4. Loop through open programs
    • Use list.remove() to delete matching programs from list of programs to restore

This would change existing behaviour though, so it might be best to add a flag to make it optional. I would appreciate feedback on this.

@JonnyHaystack JonnyHaystack added the enhancement New feature or request label Nov 16, 2019
@JonnyHaystack JonnyHaystack added this to the 1.4.0 milestone Nov 16, 2019
@JonnyHaystack JonnyHaystack self-assigned this Nov 16, 2019
@JonnyHaystack JonnyHaystack pinned this issue Nov 16, 2019
@JonnyHaystack JonnyHaystack changed the title Only restore programs that are not running Only restore programs that are not running? Nov 16, 2019
@JonnyHaystack
Copy link
Owner Author

#64 makes it so only missing programs are restored, but I'll leave this issue here for a while in case anyone has any problems. Wouldn't want to break anyone's workflow 😉

@JonnyHaystack JonnyHaystack unpinned this issue Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant