-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Customize duration of opacity transition #208
Comments
# focus selected space without animation
yabai -m space --focus <space selector>
# focus selected window and iff necessary switch the space without animation
yabai -m window --focus <window selector> See also: The following features of yabai require System Integrity Protection to be disabled |
Thanks for getting back to me, @dominiklohmann :) SIP is disabled, and that's exactly how I'm switching between spaces/windows. The windows focus relies on opacity:
But when I change focus to a window/space, there always is a fade in the opacity. I was wondering if it's possible to remove that transition. I do not have this problem in simply using a border to highlight the focus. |
The window focus change is instant, it's just the opacity transition that is not. It's set to a fixed 0.2 seconds here: Line 426 in 6c846d4
|
Hi @lucaorio sorry to ask this in this thread but would you mind telling me the name of the Vscode theme your using? Thanks! |
Thanks for clarifying, @dominiklohmann . Would you consider making the duration of this transition overridable? In chunkwm this was possible with
@karbecker I customized it a bit, but main theme is based on the Material one! |
That's something for @koekeishiya, who seems to have been semi–absent over the past week. I'm just a contributor here, and while I do know my way around the code base and have made a few changes locally, I am mostly helping here with triage and documentation. I am not a maintainer of this project. In the meantime, you can easily fork this and change just that one value to Personally I consider this a feature worth implementing—it's a reasonable request and easily implemented. |
Implemented on master. |
@koekeishiya I just installed
|
Turns out pasta is bad for you. |
Is it possible to have an instant switch between spaces, and windows focus without any kind of animation? (like chunkwm)
I checked the reduce motion accessibility option, but the opacity transitions are still kind of slow.
The text was updated successfully, but these errors were encountered: