Skip to content

Restore workspaces in sway to displays and move applications to saved workspaces

License

Notifications You must be signed in to change notification settings

MNolan147/sway-workspaces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sway-workspaces

Restore workspaces in sway to displays and move applications to saved workspaces.

Setup

  1. Setup displays, e.g. with wdisplay
  2. Run after setting up your displays python sway_workspaces.py save <profilename>
  3. Repeat for every display setup
  4. Setup kanshi and make it run python sway_workspaces.py load <profilename>

Development

Used objects in tree

TODO

Notes

Had to alter the default tree, so the outputs are not the ports (display name instead of DP-1). Now it doesn't matter if more ports appeared after docking.

About

Restore workspaces in sway to displays and move applications to saved workspaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%