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

Time based session restoring #58

Open
rwjack opened this issue Sep 5, 2022 · 2 comments
Open

Time based session restoring #58

rwjack opened this issue Sep 5, 2022 · 2 comments
Labels
new feature New feature or request

Comments

@rwjack
Copy link

rwjack commented Sep 5, 2022

Seemed like a pretty cool idea I thought of while taking a shower.

It would just be a simple automation to prevent unnecessary clicks.

Example, each session has it's "timeframe" array, of type date-range.
Session 1 - timeframe = [ Mon 08:00 - Fri 16:00 ] # If automatic restoring for this session is enabled, and the timerange fits (after Mon 08:00 and before Fri 16:00), open it, otherwise just skip it. This is only for automations, a button click should restore the session any time it is pressed.
Session 2 - timeframe = [ Mon 08:00 - Mon 16:00 , Fri 08:00 - Fri 16:00] # This session only opens only on Monday and Friday, during work hours
Session 3 - timeframe = [ every day ] # If enabled, opens every time

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

It would just be a simple automation to prevent unnecessary clicks.

In term of automation, you mean when auto-restore a session on start up, not schedule this automation during the computer is running, right?

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Correct

@nlpsuge nlpsuge added the new feature New feature or request label Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants