Hacker News new | past | comments | ask | show | jobs | submit login

Sure!

I have a bunch on windows in an app, that tend to move to a different monitor after the machine goes to sleep.

Each window has a different title, which is something KM can act on, so I've made an action that moves each individual window to a specific place. I've tied this action to Alt-P (for "place"), so I can manually correct when they've drifted.

So it's not a generic "put all windows where I left them" solution, but it's a hell of a lot better than manually doing the same thing several times a day.




Nice! I do something similar with my laptop using Hammerspoon: when it detects my external keyboard is connected over USB it does some setup for my desk/mobile environment (repositions dock, quits some apps, launches some apps, etc). I manage my windows in quarters and thirds using keyboard, so they don't really move about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: