leadsvast.blogg.se

Hammerspoon monitor window title change
Hammerspoon monitor window title change






hammerspoon monitor window title change
  1. HAMMERSPOON MONITOR WINDOW TITLE CHANGE UPDATE
  2. HAMMERSPOON MONITOR WINDOW TITLE CHANGE FULL
  3. HAMMERSPOON MONITOR WINDOW TITLE CHANGE WINDOWS

One of our requirements was a website that would render the full heat map of your travels, let you export that data, and eventually let you do a lot of interesting things with your data. New location data is uploaded to your private, secured CloudKit database on iCloud, so you are the only one with access to your data. It does all this in the background, so you can start it once and forget it. It also relies on wifi and cellular for location information rather than power-hungry GPS.

HAMMERSPOON MONITOR WINDOW TITLE CHANGE UPDATE

It uses iOS’ significant location change service to only update your location when you move by a significant amount. The Wanderings iPhone app is pretty basic. There were some other location tracking apps out there, including Google Timeline, Fog of World, and Strut, but none that had the combination of strong privacy guarantees, simplicity, and low-energy usage that we were looking for. However, with the release of iOS 11, OpenPaths stopped working, and its accompanying website,, no longer resolved. The app used very little energy, so you could just start it and forget it. Out of that grew a project, OpenPaths, that allowed you to generate your own location data, and have full control over it. I should back up and talk a little about what Wanderings is and how it works.īack in 2011 there was a small uproar when it was revealed that Apple was apparently tracking your every move with your iPhone. Why should you trust us with a copy of it? One of the driving ideas behind Wanderings was having a location tracker where you controlled your own data. The GCP costs were piling up, and we didn’t really want to be responsible for having a copy of our users’ location data. And so on.īut the more we thought about hosting our own service, the less enthused we were. Do we bother with containers? Meh, leave those for the youngsters. We figured we’d try hosting on GCP, mostly to learn more about the platform. When my friend Nelson and I set out to build our location tracking app & accompanying website, Wanderings, we started down the familiar path of choosing our stack. I have that file saved at ~/.hammerspoon/a, and in ~/.hammerspoon/a I have: I’d never written Lua before, but with plenty of examples to crib from and good API documentation, it didn’t take me long to come up with a little script that did just what I needed: The Getting Started Guide gives a good sense of some of the things you can do with it. Hammerspoon lets you write Lua scripts to interact with the MacOS system, and it’s pretty powerful. All window managers on macOS must use the C-based accessibility APIs, which are difficult to use and are surprisingly buggy themselves.īut then I saw Hammerspoon listed at the bottom of the Swindler README, under Related Projects. There are a lot of systemic challenges, including limited and poorly-documented APIs. Writing window managers for macOS is hard. It seemed to be just what I needed and confirmed that I wasn’t completely incompetent:

hammerspoon monitor window title change

I started looking around and found Swindler.

HAMMERSPOON MONITOR WINDOW TITLE CHANGE WINDOWS

And for some reason I couldn’t get Chrome windows to move. Get a list of active windows, see which are off-screen, and move them over.

hammerspoon monitor window title change

It was annoying enough that I decided I’d write an app to “rescue” them. For some reason when I attached or detached my laptop, many of my windows would end up off the edge of the screen, and I’d have to drag them back over one by one. I recently got a new monitor and it came with a problem.








Hammerspoon monitor window title change