Replies: 20 comments
-
Seems like there might be better solutions than Yabai, but you could just change the default to be floating instead of BSP. |
Beta Was this translation helpful? Give feedback.
-
I didn't find them so far. Before Big Sur I used Deskovery III I just want the transparency, and if possible functional spaces. |
Beta Was this translation helpful? Give feedback.
-
Now I gave it a try in a VM and now on my live stem. I recompiled yabai without the check for separate spaces, and it works like a charm. I've got my desktops back (I can again attach an app to a desktop, not a display anymore). I'll now build a menubar app for changing the opacity on the fly and try to get familiar with the code from yabai to remove all which is unrelated to my needs. So, I'm still very grateful for yabai, although it was not exactly what I was missing from Linux on macOS, but a great step towards the right direction. Is it possible to change the opacity on an app or windows base? |
Beta Was this translation helpful? Give feedback.
-
@koekeishiya Could you make the check for checking for separate spaces optional/overwrite-able? As ist seems, there are no changes needed within yabai besides that. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Oh, I got one like, thanks. Was not sure if someone is interested, but even if it is only for me, I'm happier than ever with my desktop. That is the result from today: |
Beta Was this translation helpful? Give feedback.
-
So upgraded to Big Sur. Recompiled yabai 3.3.1. Transparency doesn't work anymore :-( |
Beta Was this translation helpful? Give feedback.
-
You also need to reinstall the scripting-addition bundled in yabai v3.3.1 (or newer). |
Beta Was this translation helpful? Give feedback.
-
I did: ╰─➤ sudo yabai --uninstall-sa |
Beta Was this translation helpful? Give feedback.
-
Hmm I don't know then; everything works just fine for me: |
Beta Was this translation helpful? Give feedback.
-
OK, that gives hope that theres some wrong with just my setup. When I issue: yabai -m config active_window_opacity 0.90 the command hangs forever. I'll try again with debugging enabled. |
Beta Was this translation helpful? Give feedback.
-
Ah, I had to codesign the binary again. Thanks for your help, I was afraid Apple broke this really (for me) cool feature. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@koekeishiya As you are reading here, can you give me feedback to my question 8 days ago? A switch or config option to ignore the check for separate spaces? So I could use the upstream release and don't have to change yabai.c for every version. When my tool is finished (for me) I'l release it under MIT as yabai is. Optionally maybe a paid precompiled version in the App Store, but I guess who is able to build yabai from source or with Homebrew won't need that kind of comfort. |
Beta Was this translation helpful? Give feedback.
-
I'm not convinced that is a good idea. I know for sure that High Sierra and Mojave does not work correctly when displays have separate spaces is disabled. As long as yabai supports multiple macOS versions; my aim will be to keep the codebase as unified as possible to prevent compexity and/or obscurity caused by minor differences between OS versions. |
Beta Was this translation helpful? Give feedback.
-
But it would be just optional for users like me who just use Float layout. I don't want to fork Yabai, it currently works great. Only I have to comment the check for separate spaces before each build. I tried to implement it myself and send you a PR, but it seems like the check is performed before parsing the config file. A bit long kind of an explanation, you don't have to all read is, my main wish is described above. My setup is an iMac with two additional Displays. I have separate displays for each space, so separate Desktops. So, I have desktops like main, Xcode, webdev, local, hosting etc. And: If I have shared spaces, I can attach an App to a desktop, not just a display. So, that option would be a great benefit for me. No need to change the source for every version. You just have to implement it once, and it won't harm anybody who is using Yabai in a different way than me. Of course I'm willing to pay the time you need to implement that change, as it is important for me. I spend 8-12 hours a day, 7 seven days a week at my iMac. And really, really enjoy that transparency, as I can watch shells behind my Xcode, PHPStorm or even Browser. I could image many more options for my tool, preferences per app, per space, if there is feedback and demand. |
Beta Was this translation helpful? Give feedback.
-
P.S. My tool will only work with Big Sur and above, due to limits in SwiftUI. |
Beta Was this translation helpful? Give feedback.
-
Ok, I finally found a way to use yabai in the upstream version, still using more spaces than directly supported by Mission Control without losing my Desktops. Will post a blog for it the other day. |
Beta Was this translation helpful? Give feedback.
-
You could talk directly to the scripting addition without having to proxy through yabai -m commands, but then you would need to figure out some way to automate your dependency on the scripting addition that is bundled inside the yabai binary (updates, installation, loading upon system login etc.). The available options can be found by looking at the handle_message function here: Look at functions starting here and below to figure out how to call the above functions: You probably need to look at how these are used within yabai to figure out the type of the parameters (e.g internal ids, etc.). |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, but currently the way with using yabai -m seems to work good enough. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to take the code from yabai, remove all that window managing stuff and have just custom transparency per active/inactive App?
If yes, how much would you guess that would cost?
A big plus would be to keep spaces intact.
(No desktops have separate space any more).
Beta Was this translation helpful? Give feedback.
All reactions