alexrochas / i3-workspace-rollback

i3-wm plugin to rollback to last focused workspace
1 stars 1 forks source link

How to install and ship it #1

Open AstraLuma opened 8 years ago

AstraLuma commented 8 years ago
  1. Write a setup.py
  2. Upload to PyPI with twine
  3. ???
  4. Profit!
alexrochas commented 8 years ago

Hi, thanks for reply.

Yeah, yesterday I was thinking not exactly how to ship, but how to add to i3. Your suggestion is what I was thinking. So, my conclusion is that in "step 3" you will need, after install from PyPI, add to your i3 config something like:

exec i3-workspace-rollback

This if I add a script to my python package. Makes sense? What do you think? Thanks again!

AstraLuma commented 8 years ago

Yup! Add a __main__.py and have setuptools handle it.

AstraLuma commented 8 years ago

And then users would be:

  1. pip install --user i3-workspace-rollback
  2. Adjust .i3/config to taste