Amethyst
Amethyst copied to clipboard
Highlight active window
Should be pretty straightforward and would certainly save me a lot of headache. Could do something like https://github.com/puffnfresh/Honer.app.
:+1: this would be great!
I'd like this too :D.
:+1:
+1 to this request.
If you guys vote on the trello card it's a lot easier to track +1s. :)
:+1: (and voting on the trello card!)
I've used Honer in the past, but had to stop because of this bug:
- Cmd+Shift+4 to take a partial screenshot
- Hit 'space' to switch to window-locking mode
- Click on a window you want to take a screenshot of
- Screenshot is only of Honer overlay, essentially giving you a completely blank screenshot with an outline at the edge
I understand this is due to Honer being its own application that draws a lay on top of other windows, but if there was a way around this, it would be much appreciated.
The screenshot thing is something I hadn't considered. Thanks!
@ianyh @mrjnox I started to experiment with another tilling window manager for macOS on one of my computers at work and found this handy little script: https://gist.githubusercontent.com/dominiklohmann/20973dbe7c78870e6026/raw/fea8c78f637d13c57ac54c3f15bf32e64d8f399a/screencapture
It disables the border right before the screenshot is taken and then reenables it. Should probably be applicable here as well.
I believe that script only works as a result of how kwm does keyboard shortcuts. I believe it hooks in at a lower level than Amethyst does. It's the same level that the system uses before it dispatches events so it actually prevents the system from getting the keyboard events if kwm is registered to handle them. There are pros and cons to that approach. The primary downside in my opinion is that it silently overrides system commands, but that does have the upside of effectively being able to rewrite system commands, which is what that script is doing. It's taking the default system commands for capturing screenshots and overriding them to point towards a wrapper that shuts off the window highlight for the screenshot.
I had an idea for this. Instead of one window with a border we can use 4 windows, one for each edge.
FWIW, I just installed honer (because I rarely if ever use windowed screenshotting, so focus highlighting was more important) and I tested out a windowed screenshot - it works as expected. macOS Mojave.
Looking at Honer's code it looks like screenshots (at least as of Mojave) are smart enough to ignore space with windows that have nothing drawn in them. This should be workable now.
Instead of drawing a border, one could also go with an approach like https://hazeover.com/, and dim unfocused windows. Presumably the amount of dimming is configurable.
I personally wouldn't want that. My usual use case for wanting to know which window is focused is that I can find where my text input is going rather than wanting to literally be focused on it.
I would very much appreciate this. For now there is NeuHoner (https://macplus-software.com/downloads/NeuHoner.dmg) which is free and does not blur unfocused windows. Unfortunately that app is not open source and is not even configurable (red highlight only, etc).
I've been using Amethyst ever since my move to MacOS about 2 months ago and this is definitely my most wanted feature.
@jesse-troy I think that NeuHoner is sketchy! it's not open source and there have been demands on Honer's repo to release the source code but no one is replying Please check here: https://github.com/puffnfresh/Honer.app/issues/18
Please check here for an alternative solution: https://github.com/ianyh/Amethyst/issues/1007
limelight is broken on macos Monterey. Any plan to do this as part of amethyst? @ianyh
Any update in this feature?
I'm also interested in the status of this feature
Interested in this feature as well
I have created a border system for macOS Sonoma you could try: https://github.com/FelixKratz/JankyBorders
I have created a border system for macOS Sonoma you could try: https://github.com/FelixKratz/JankyBorders
Do you have any screenshots of what it looks like?
Do you have any screenshots of what it looks like?
Might add it to the README of the repo later.
Do you have any screenshots of what it looks like?
Might add it to the README of the repo later.
That looks really good!
I have created a border system for macOS Sonoma you could try: https://github.com/FelixKratz/JankyBorders
Wow, that's amazing, do you think it could work on Ventura @FelixKratz??
There are several reports that it works on Ventura: https://github.com/FelixKratz/JankyBorders/issues/68
If there could be a way to execute a function whenever a new window is focused, we may end up with a good combination of both tools by doing something like this for temporal window highlight:
focusHook: |
borders active_color=0xffff0000
sleep 0.3
borders active_color=0x000000