-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight active window #127
Comments
👍 this would be great! |
I'd like this too :D. |
👍 |
+1 to this request. |
If you guys vote on the trello card it's a lot easier to track +1s. :) |
👍 (and voting on the trello card!) |
I've used Honer in the past, but had to stop because of this bug:
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. |
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 for an alternative solution: |
limelight is broken on macos Monterey. |
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 |
Do you have any screenshots of what it looks like? |
Wow, that's amazing, do you think it could work on Ventura @FelixKratz?? |
There are several reports that it works on Ventura: FelixKratz/JankyBorders#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 |
Should be pretty straightforward and would certainly save me a lot of headache. Could do something like https://github.com/puffnfresh/Honer.app.
Trello Card
The text was updated successfully, but these errors were encountered: