Skip to content
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

Toggling Opacity requires application restart #585

Closed
timlkelly opened this issue Jun 19, 2020 · 1 comment
Closed

Toggling Opacity requires application restart #585

timlkelly opened this issue Jun 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@timlkelly
Copy link

When toggling the window_opacity from on to off and restarting Yabai, the opacity of the windows does not change. Windows continue to be transparent.

Quitting and reopening a specific Application will fix this for said application, however, other applications will continue to be transparent until they been restarted.

This isn't a critical issue and I am unsure if this is in Yabai's realm or just part of how macOS behaves, but I wanted to bring this to your attention.

macOS 10.15.5
yabai 3.2.0

@dominiklohmann
Copy link
Collaborator

dominiklohmann commented Jun 19, 2020

In the meantime, you can use this:

yabai -m query --windows |
  jq '.[].id' |
  xargs -I{} yabai -m window {} --opacity 1.0

Read as: Query information about all windows, and modify the query result to show only the id field, then for every window id set the corresponding windows opacity to 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants