Skip to content

Nikl174/sway-session-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sway Session Save

Save and Restore the sway session WIP

References

Dependency

TODO

I'm also going to implement an Interface for the session saving and reconstruction to be able to use the software with other Tiling-WMs (linke i3 or Hyprland).

1. Version goals

  • get a structure and all windows and save it
    • tree as data-structure
    • xdg-shell name as app_id -> .desktop launch via 'gio'
    • xorg name -> test a few programms for it's name
    • save as a session file (json or yaml?)
    • terminals ??
    • create interface for different programms to override reconstruction/state-save
  • recreate the tree
    • reconstruct programms based on a basic and a programm-specific routine
    • how to handle multible window instances?
  • testing ??!!
  • optionally show 'reconstructing-panel' in wlr-layer-shell protocol while script is running
    • block user input?
  • optional: get all running programms (like here)

2. Version goals

  • handle events from sway itself
    • add entry to tree on new event
    • remove entry
    • save on exit
  • testing .. -- -.-

About

WIP saves and loads the current sway session

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages