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

Rudimentary example of session saving #20

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Rudimentary example of session saving #20

merged 1 commit into from
Mar 25, 2025

Conversation

soreau
Copy link
Member

@soreau soreau commented Feb 22, 2025

This script attempts to relaunch previously running gtk applications by recording the app-id and launching them with gtk-launch. It uses python pickle to serialize the data to ~/.config/wayfire.pickle and also attempts to save/restore basic geometry for each window.

@soreau soreau force-pushed the session-save branch 3 times, most recently from aad46c4 to eccc6e5 Compare February 22, 2025 20:57
This script attempts to relaunch previously running gtk applications
by recording the app-id and launching them with gtk-launch. It uses
python pickle to serialize the data to ~/.config/wayfire.pickle and
also attempts to save/restore basic geometry for each window.
Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have dumped the data as json but I guess if aint broke dont fix it :)

Thanks!

@ammen99 ammen99 merged commit dfc1019 into main Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants