Yabai - Tiling Window Manager for Mac [ Tutorial ]
HTML-код
- Опубликовано: 3 июл 2024
- Leave a comment if you have any questions! I'm sure i missed something..
---------------------------------------------------------------------------------------------------------
All my notes for this video 🖥️ : www.notion.so/Yabai-8da3b8298...
---------------------------------------------------------------------------------------------------------
Homebrew Video : • Efficient Tips (#3) - ...
Karabiner Video Part 1 : • Karabiner-Elements Tut...
Karabiner Video Part 2 : • Karabiner-Elements Tut...
---------------------------------------------------------------------------------------------------------
Yabai : github.com/koekeishiya/yabai
Limelight (standalone) : github.com/koekeishiya/limelight
Skhd : github.com/koekeishiya/skhd
Stackline : github.com/AdamWagner/stackline
---------------------------------------------------------------------------------------------------------
Lovely by Amine Maxwell / aminemaxwell
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/lovely-amine-maxwell
Music promoted by Audio Library • Lovely - Amine Maxwell...
I was looking for a simple guide on how to set up Yabai (and its cons using it with SIP enabled) and you did it gracefully. Thank you sir.
I was struggling to find a video like this which thankfully was linked from reddit... First impression was "Oh my my".Great Stuff. Thank you!!!
all your mac videos man.. 10/10 high quality and useful as hell for productivity
Thanks. I'm a bit slow at making them but it helps to know that they're actually useful to people.
@@jesse19skelton yes! these are amazing! keep them coming.
This was awesome. Thank you so much for this. I didn’t know it was possible on a mac
Thanks for the extremely helpful and comprehensive video. I learned a lot and moreover, there were bits and pieces that were new in programs that I'd already been using.
This video is pure gold. Thank you man!
Thanks so much for this. I tried looking into this in early Nov 2020 and it was not easy to find a guide or quick setup for the whole process with SIP enabled. This is what I will use now.
Great video, thanks I was stuck with the set up until I watched this. Yabai! It's great so far!
"Skip if you're bored", no way!
I like the Notion.so document since it's now easy to reference what you spoke about.
Great video, thank you! Seriously considering moving from magnet to yabai because of the way it works and its flexibility.
Thanks for sharing, for all the details included and for your time.
can't thank you enough for this Jesse, helped me visualise what I was doing! BTW, in case it helps someone else, you do /not/ have the leading period on your yabairc if it is in .config/yabai, whereas it looks like you /do/ have it if stored elsewhere. make a world of difference that ;-)
Such a great video! Can't thank you enough!
This is great. I think the space switching to different displays would me important enough for me to disable SIP, though, since I'm used to XMonad. I love being able to keep my window configuration and just move the entire desktop as-is to my main monitor and then back off of it again to my secondary and tertiary displays.
Best video on yabai. Thanks!
Keep up the good work bro!
This is AMAZING! So thank you!
Looks awesome! Thanks!
I definitely appreciate the level of detail and care that you went through to set this up and share for everyone. However... this is not easy stuff for non developers, and there are other bits of knowledge required (that are not explained in this video) to get this working. I feel like that should have been made more clear somewhere in this video. In any event, it's a cool setup
Great video, thanks!
I was wondering what I'd lose if I don't disable SIP and your video helped a lot, so thanks!
Thank you for great review!
Great video dude. Thanks for making it.
Thanks for watching Frank! No prob
Great Tutorial, thanks
I have been looking to see if I could make something similar to I3 on my Mac. And now because of this I don’t have to so thank you very much!
at first I got scared and uninstalled it, then I decided I'm gonna do it and now I have a lovely work environment. Many thanks
Very helpful, thank you!!
I admire the dedication for adding pics for everytime you said limelight. Also, I drank a shot each time you said limelight so I'm shitfaced.
This looks very interesting. Been using tiling window managers for years on my personal computer but recently got a Mac at work and been frustrating ever since. Your video really motivate me to set this up on my work computer. Thanks!
Great job!! 🍋💡
Thank you! 😊
Thanks for creating this tutorial video! Would be great to have this video documentation on the official Yabai documentation! :)
Hah, yea. That's why I ended up making this. Would have been nice to see in the first place.
Saved my brain with hyper
great video, made me come back to yabai from amethyst
Welcome back!
@@jesse19skelton thanks, i cant seem to find your config files and i would love to check them out especially if you use hyper
@@adnanmuratovic8338 Im not sure if you found them already, but in the description of the video he has a link to a notion webpage, and from there if you scroll down he has a section called Keep SIP enable > Post Install Setup > Create and setup configuration files > yabai config > Put some stuff in config file > My personal config and from there you'll find his configuration file, hope that helps
Thanks for the config options for SIP enabled. My employer also requires SIP to be enabled.
Thanks for sharing, would be nice to see a video about your current setup (do you use Raycast?).
Thanks!!! Hehe
your terminal looks great, can you make video to setup you terminal too
Man, you must tell me right now how to make an amazing terminal like yours
nice video
Hey man any chance we can get an updated video for setting up Yabai?
I really like the skyview city wallpaper. Where did you get that?
Would you mind explaining how you assigned 2 spaces to each of your displays?
nice video ..on a side note ..what theme are you using for vs code ..looks sick
Great video! BTW what's the Finder app you are using?
Amazing video,
QQ , which terminal you are using, looks it is running on background ?
I followed your instructions and it was amazing. Thank you so much for this. Any chance you can talk about Hammerspoon and stackline?
how did you do it cause I need help, I followed everything but I can't get my keyboard shortcuts to work or limelight to work
Do you have any issues when your Mac goes to sleep and you wake it with windows moving back to the main Mac display?
when splitting screen left, and right. Is there a way to make one side a full screen example RUclips full screen but only in the right and left be used for other work
I’m thinking of moving from Amethyst to Yabai, or I don’t know yet because it’s working pretty well on my machine. But are this setup and configuration still valid on latest macOS Monterey 12.4? And I have an Intel Mac.
What is the keyboard and the mouse you are using? Thanks!
Config files don't generally have to be executable. Only yabairc in this case has to be executable because it's a shell script.
Holla at Yabai!
Help! skhd doesn't seem to work with yabai, when i run skhd -V to check what's up it says command not found: yabai
any solution?
For some reason, Limelight is asking for accessibility permissions when I try to tell it where the config is like you say. I Think I have added it (It originally did not show up, so I had to click the plus). It still acts like it does not have permission. Any thoughts on where I should look next?
are skhd and hammspoon silimar things? for hot-key config?
I want to use it with taskbar like awesomewm, as hybrid WM (titling + dynamic), Is it possible? Is it support resize floating windows by mouse?
I've been trying to get skhd to work with yabai and i found your video, but I seem to still have trouble to get it to work. My shortcuts does't seem to work at all.
What is the terminal you use?
I just want to know if it's possible to full screen a video in one of the tiles and just normal browser screen in the other tiles. But non of the video's i watched online seem to showcase if that feature is possible or not. I seen that Yabai has some sort of "picture in picture" mode which i am not sure about if that is the feature I am talking about. I basically just want my tilling to be like the original Macos feature of splitting a window but with just more tiles. Is that just really too much to ask for =S
Would you be able to share you skhdrc file? I have a hard time getting skhd working?
I installed karabiner and skhd.
The skhdrc file is located in .config/skdh/skhdrc and executable.
This is my line to start Alacritty but have no success -> shift + ctrl + alt + cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty
but nothing happens when I press CAPS-LOCK and ENTER
Two questions:
1. How did you unstack the windows?
2. How do you get the icons for the windows to appear?
Thanks so much for making this tutorial. You sold me on Yabai, and I dedicated many hours going through the setup.
Can you share your dotfiles?
This task is so simple and apple get us in too much complications, command + > or < and that all we want....
This is so great! Love your entire mac setup. Do you have your dotfiles and other tools that you use publicly available?
I would love to replicate what you have!
same here! As a student, I want to prioritize studying at this point in time, but this is so great and I really want to use it.
@Jesse Skelton Is there anyway to replicate your set up in a faster way??
Thank you!
No, nothing public, sorry.
Have you noticed Notion no longer tiles correctly since the recent update? I'm having trouble with it.
What do you mean by "tiles" correctly?
I couldn't find your .config files (.yabairc, etc...) not even in your Github account, Could you please share a link to them :)?
Many thanks for your excellent videos and I hope you keep on making them!!!
Okay, if you're install this and you're having issues lemme help:
1. limelight not being found? use the full /usr/local/bin/limelight path in various scripts
2. the rotation scripts are total broken due to changes in the JSON object, here's one that works
hyper - i : yabai -m query --spaces | jq -re '.[] | select(."is-visible").index' | xargs -I{} yabai -m query --windows --space {} | jq -sre 'add | sort_by(.display, .frame.x, .frame.y, .id) | nth(index(map(select(."has-focus"))) - 1).id' | xargs -I{} yabai -m window --focus {}
Hi! Would you mind sharing your dotfiles?
I am using m1 mac and not able to make stackline work....
how to config hyper key?
Hey great video, is it possible that you can share your config for yabai and skhd? I would this really appreciate.
How do you add those lines (13:36) to the config file? I'm using Macbook Pro late 2011 with High Sierra OS
if you're still wondering he's holding the cmd key down and hovering over the link
@@sylens_ not the link. but the codes in the link he opened.
When you start apps I notice the automatically go to the correct size and location, I have been using yabai for a long time however when I launch apps it opens them as a floating window very briefly and then tiles immediately after, how did you get around this?
I'm not sure. Maybe my computer is faster..?
@@jesse19skelton could be the case, thought you might have done something oh well, great video btw :)
17:18 what app is that ?
Does this installation work on Monterey too?
yes
Is there a way to install Limelight, seems the repo has been deleted?
The dev removed it because it was broken in newer versions of mac os
Hi! Can someone help me? I got every config just like in video but i think that skhd doesn't work. I tried to restart it but nothing has changed.
If you're using BigSur, check out yabai's wiki. You have a couple other steps I believe.
Is the video about keyboardmaestro still coming?
🤷
Are you using KeyCue? How do you like it?
Yea, good eye. I like it. Good for a quick reference to my shortcuts. I memorize most of them so it's not used that much actually.
use linux with i3 wm instead
What about your quick floating terminal?
It's Iterm2 with these settings : apple.stackexchange.com/questions/48796/iterm-as-a-slide-out-terminal-from-the-top-of-the-screen
thank you
anyone tech me how to have that green border of app please
Think it was removed : github.com/koekeishiya/yabai/issues/1911
Why do you need magnet while using yabai?
You don't
Can you explain why you prefer yabai over amethyst?
More customization and features in Yabai. Amethyst is limited to what the developer allows you to modify in the GUI. Yabai allows you to write scripts to do pretty much whatever you want.
@@jesse19skelton Amazing, thank you!
@@jesse19skelton General channel feedback:
1. The content is exactly what I'm looking for. I'm really glad that I can get some of the customisation I would have gotten in Linux, but still retain the stability of Mac.
2. The production is high quality and engaging. Can tell you put in a lot of effort.
@@ThePalmtreeSong Thanks for the feedback 👍️
Hello I'm in the process of moving from Linux with arch + i3wm to macos, would you recommend yabai over the rest of the macos wm?
Not OP but having used Yabai for the last 3 months and running i3-gaps on my other laptop I would highly recommend Yabai. It’s closest Linux equivalent would be BSPWM (has similar binary tiling and also uses a hotkey daemon).
At times I actually preferred Yabai’s ease of use over i3
Aparently the owner deleted Limelight`s repository, is there any substitute ?
Don't think so, sadly
Apparently Yabai, means "Ohh Shit" extremly versatile word according to this video!
The most useful word in Japanese: YABAI
ruclips.net/video/j0Yt9B8KHQM/видео.html
Yabai! this was an awesome video!
Hey bud, do you have a copy of your cofig?
In my notes in the description
@@jesse19skelton Thanks not sure how i missed that
@@jesse19skelton Hey having issue with my file path I feel like I'm missing something ln -s /Users/"my username"/Downloads/limelight-master/bin /usr/local/bin/limelight but it keeps giving me an error no such file directory meanwhile I've doubled checked the file path and its fine so don't know what to do. Pls help
can i maximise youtube videos on the other side without them taking the whole screen?
Use a browser extension to full screen YT videos in the current window
Im getting failed to connect to socket.. message when I put your config into yabairc. I have the proper permissive enabled. Not sure what I'm doing wrong.
Where are you seeing that message? Does it work without my config? Maybe try commenting out some lines in the config until it does work to narrow it down..
@@jesse19skelton I was seeing it in terminal, I'll try your suggestions.
@@jesse19skelton I can not write anything to the yabairc file
I'm running Big Sur and was reading about a mach API, is this why I can't write to it? It has rwx privileges
@@dustinsmith510 Oh, I'm on Catalina, guess I should have mentioned that. Read this : github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)
hello! i'm having an issue when installing limelight. after downloading the zip file and extracting the folder, i cd'd into the folder, typed "make", and i get an error saying
"In file included from src/manifest.m:48:
src/message.c:43:14: warning: unused function 'token_to_string' [-Wunused-function]
static char *token_to_string(struct token token)
^
Note to self: you should have never jumped on Monterey especially when you have an intel version as your Yabai ends up going ya-bye! :,(
Some how everyone and their mother got a M1 version. In Github barely anyone mentioning intel version...FML!
ya bi
Thank you this was great help. I'm having trouble creating spaces though, when I type the command manually:
"yabai -m space --create"
I get;
"Cannot create space due to an error with the scripting-addition"
If you don't have SIP Enabled, you can't use that feature.
@@jesse19skelton Thanks for the reply 🙏 strange, still getting the same message even after SIP is disabled :/
Try it again and type this in your terminal to view the logs.
# view the last lines of the error log
tail -f /usr/local/var/log/yabai/yabai.err.log
# view the last lines of the debug log
tail -f /usr/local/var/log/yabai/yabai.out.log
@@jesse19skelton first command gives this output:
“Yabai: could not access accessibility features abort..”
Second command oddly enough yields not output (looks like is getting stuck)
@@cianomahony9213 ah, open system preferences, go to security and privacy, privacy and make you sure yabai is in the accessibility section. If not, go to terminal and type"where yabai", navigate to that path in finder, drag yabai to that accessibility section In preferences. Restart yabai. That'll probably do it..
Hi Jesse, Thanks for doing this videos with your personal touch, I like! I do have two short question as you're using Karabiner - why in this case skhd? And did you tried goku yet (github.com/yqrashawn/GokuRakuJoudo)? I appreciate your time for a reply.
Skhd is super lightweight and simple. They just work well together. Yea, I looked into it but never really stuck with it.
@@jesse19skelton I don't get it yet, maybe never - but it's fine I'm old. :-) Thank you.
やばい!
Is it weirdly
I saw “Yaoi” when i first saw this vid
......my 3am vibe be like x’D
Most apps already have a keyboard shortcut for fullscreen and un-fullscreen, why duplicate?
Now ALL apps have one.
I installed it on a Mac Mini M1 following the instructions on the Wiki. Absolutely nothing happened. I unininstalled it.
Yeah, the scripts associated with space modification and the like is not compatible with the M1's API which doesn't make sense but considering that this isn't xorg that properly contains window functions to one application, it is what it is. The maintainer needs to make a patch for M1, until then you have to use amethyst + karabiner to get something similar.
I'm still mad about not having space hotkeys a la i3 or xmonad.
Keybinding from your config that goes to each window without going into a stack doesnt work that great.
“stack-index”
Hey man having issue with my file path I feel like I'm missing something ln -s /Users/"my username"/Downloads/limelight-master/bin /usr/local/bin/limelight but it keeps giving me an error no such file directory meanwhile I've doubled checked the file path and its fine so don't know what to do. if you could pls help?
@@kevinmesto608 in folders maybe do "pwd"
If its complaining about directories - maybe its true
@@dany3370 yeah I don't get the error anymore and my yabai is working now but limelight won't work. I'm wondering if it just doesn't see it at all in the yabai file or something 'Im not sure. if you could pls help? I'm using the skhd config file.
@@kevinmesto608 i didnt use limelight, so i dont know how to set it up
I think i found the wrong type of yabai