Question

I do web development on my Mac and I tend to have lots of windows open. Even per application, I tend to have multiple windows opened (ie a Terminal window for tail -f error logs, one for ssh, and one for local commands).

When I switch applications with tab, the visual effect on focused window is subtle and I often get confused and perform commands on the wrong window. For example, I switch to Terminal and do w to close a tab on the tail -f command, but I accidentally closed the ssh tab!

Is there a Mac program that will highlight or do some more effects on a focused window when I switch applications?

Was it helpful?

Solution

If a paid app is ok, HazeOver darkens everything but the active window slightly. http://hazeover.com

Note that I haven't used it, so I can't speak to it. It has a 4 star review, but the only review for the latest version is negative.

OTHER TIPS

This is Mavericks specific, but Honer will draw a border around the active window. You might also want to combine it with this app that removes window shadows.

If you're willing to invest some to set it up, Hammerspoon has the hs.window.highlight module that provides:

  • Darken the non-active app (like HazeOver)
  • Put a border around the active app (like Honer)
  • Toggle one window to be isolated (like Isolator)
  • Briefly flash a window when it is created

You can further configure this to activate only for some apps. The module is written in lua so I'm guessing you can extend or replace its functionality in the Hammerspoon config file (which is Lua code). For example this config implements a red border around the focused window. There's also a function to turn off window shadows but I haven't gotten it to work.

Having tried Hammerspoon, Honer, and HazeOver, I like Hammerspoon's configurability but I like HazeOver for being well polished, stable, and easy to use. I had tried Honer for a while and liked the way it looked but it wasn't stable on my system. Both Honer and Hammerspoon's border-drawing will lag behind window moves, and sometimes won't catch the window move at all. I haven't tried Isolator.

HazeOver works very well for me (in 10.10.5 as of this writing), and plays well with f.lux. HazeOver can be changed (quickly) to highlight the active window and dim everything else (even pretty much hide it entirely, for "focus" or "theater" mode), or to highlight all windows of the frontmost app, and dim the rest just a little, which I use a lot when writing or developing. Honer can be run at the same time, though I find its responsiveness too slow for my tastes, and it gets confused a lot, especially by float-on-top dialogs).

Isolator is free and pretty good.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top