Тёмный

How To Use A Tiling Window Manager On MacOs | Yabai Ultimate Guide 

Josean Martinez
Подписаться 41 тыс.
Просмотров 278 тыс.
50% 1

In this video, I share everything you need to know to setup and use the Yabai tiling window manager on macOS. Tiling window managers are really popular on Linux environments, but with apps like Yabai and Amethyst, you can bring this functionality to macOS as well. This video is meant to be a complete guide on using and setting this up so that you can get started quickly and add this tool to your workflow to level up your window management! Hope you enjoy the video!
✍🏽 Blog Post for Reference: www.josean.com/posts/yabai-setup
🚀 My Dot Files: github.com/josean-dev/dev-env...
Help Support Me And The Channel: www.buymeacoffee.com/joseanma... 🙏🏽
Terminal Setup Video: • How To Make Your Borin...
⏰ Timestamps
00:00 - Introduction
01:20 - Built-in MacOs Settings/Shortcuts
05:04 - Installing Homebrew
06:06 - Installing Yabai & Skhd
06:21 - Configuring Yabai
10:12 - Starting Yabai
12:28 - Starting Skhd
12:55 - Configuring Skhd (Keyboard Shortcuts)
21:13 - Exploring Further
21:38 - Conclusion

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 353   
@FedericoReghini
@FedericoReghini Год назад
Amazing video like always!!🙇👏 for anyone that may encounter in the same error (v 5.0.4 ) : Error: Formula `yabai` has not implemented #plist, #service or installed a locatable service file instead of brew services start yabai brew services restart yabai use yabai --start-service yabai --restart-service Same with skhd.
@catalinagranadosbeltran3458
Thanks!!!!
@joseanmartinez
@joseanmartinez Год назад
Thanks for pointing this out! Looks like this has changed from when I originally released the video.
@malekmansouri6673
@malekmansouri6673 Год назад
For Error: The `yabai` formula has not implemented #plist, #service or installed a locatable service file. replace "brew services start yabai" with with "yabai --start-service".
@victorguerra5119
@victorguerra5119 Год назад
@@malekmansouri6673 worked, thanks.
@JoshShindler
@JoshShindler Год назад
I'm on v5.0.6. I followed this instruction, and yabai starts, but nothing happens, the windows still aren't tiled. I copied both dotfiles. How can I figure out what is going wrong?
@dekooks1543
@dekooks1543 5 месяцев назад
Just a heads up for people watching this in 2024. yabai / shkd no longer use brew to start their respective services. The commands to run should be "yabai --start-service" and "shkd --start-service" instead. Hope this helps.
@dteja92
@dteja92 5 месяцев назад
you sir, are a hero!
@3ckortreat
@3ckortreat 4 месяца назад
I disabled SIP but still workspace shortcuts doesn't work for me, does anyone know why?
@adytiaisanda
@adytiaisanda 2 месяца назад
@@3ckortreat same here. somebody please help us
@3ckortreat
@3ckortreat 2 месяца назад
@@adytiaisanda there is a command you need to write in terminal, -sa something it solved for me
@skidkadda
@skidkadda 2 месяца назад
skhd -install-service installs a launchctl service. It might not start. Copy the entire path to the service then remove it. Load it by running launchctl load and launchctl start
@ellory610
@ellory610 9 месяцев назад
Great video. im a long time linux user, and I definitely appreciate how you explicit you are about the configurations. Been a mess to figure out how to configure window managers, etc. But you make it clear!
@JessePerry
@JessePerry Год назад
I used Yabai shortly after it came out, but then put it down a couple of years ago. Your video inspired me to pick it back up again. Thanks!
@dannelalbert7111
@dannelalbert7111 Год назад
Such a great, detailed video. I've been using yabai for a while, but with a suuuuuuuuuuuper basic setup with no hotkeys for anything. This has taken my setup to the next level. Thanks!
@benfrainuk
@benfrainuk Год назад
As you’re interested in productivity, you might prefer getting used to ‘ctrl+L’ to clear the terminal instead of typing ‘clear’ (it will also keep the scroll back for you which might be handy)
@mikefdorst
@mikefdorst Год назад
I was about to leave the exact same comment. I will add that in addition to this, I have this alias: alias cls="clear; printf '\e[3J'" which clears scrollback as well, which is handy if you have a really long compile error and you don't want to hunt for the top of it.
@joseanmartinez
@joseanmartinez Год назад
Awesome, thanks for the tip!
@heartdyedpurple
@heartdyedpurple Год назад
@@mikefdorstyou can also do command-k to clear and clear the scroll back
@MrMagnezone18
@MrMagnezone18 Год назад
@@heartdyedpurple As I understand in iTerm2 cmd-k is used to clear the buffer
@FusionHyperion
@FusionHyperion Год назад
or just allias to "c"
Год назад
I am using yabai for a long time, but this video was first to inspire me to revise my config and add some more advanced thicks. Thanks!
@kkeith29
@kkeith29 Год назад
I was just looking into tiling managers for Mac after seeing a lot of people use i3. Tried Amethyst but didn't like I couldn't control it programmically. Thank you for showing me Yabai. It solved my main issues with MacOS spaces which won't focus on a display when using the shortcuts if it already is visible. After trying several configurations for key maps with Yabai, I was able to make a Vim style keybinding which allows for different namespaces using SKHD modes. This allowed me to keep my leader keys similar (space for nvim, ctrl + space for tmux, and alt + space for yabai). So far it has worked great. Now I can do (alt + space > f > j) to "focus down" or (alt + space > g > t) to "goto terminal". Using Yabai's ability to label spaces has also been beneficial in making my config more clear.
@NK-eo9gi
@NK-eo9gi Год назад
A tiling window manager and the related shortcuts was the last piece for me to be as productive with a mac, thanks!
@tempsanity
@tempsanity 10 месяцев назад
Thanks for this video, I based my config on yours before modifying some bits. Couldn't enjoy yabai on Sonoma Beta for a while due to some patch that needed to be introduced, but now I absolutely love my lunarvim/neovim + yabai + sketchybar config - the combo brings so much freshness to macOS and puts me in zen mode while coding, through the combo of vim and keyboard shortcuts in yabai.
@joseanmartinez
@joseanmartinez 10 месяцев назад
Sweet! Really happy to hear that.I've been enjoying it a lot too. I'm thinking about putting a video together about sketchy bar once I get around to trying it and setting it up.
@aaronmcadam
@aaronmcadam Год назад
This is brilliant! I've been using Yabai for a while now but I've still not gotten around to configuring it the way I want to. So this video will help me a lot with that. Thanks!
@joseanmartinez
@joseanmartinez Год назад
Happy to hear that!
@RameezKhanSA
@RameezKhanSA Год назад
Super clear explanation, good pacing, easy to follow along. Thanks!
@dagrlx
@dagrlx 6 месяцев назад
Excellent video, thanks for sharing your knowledge, it helped me a lot to get out of my frustration with the chaotic experience that Mac OS offers in this topic. Not all of us have a vocation to explain, you are blessed to have it.
@zenbrandon
@zenbrandon 11 месяцев назад
Best video for Yabai setup, hands down. My whole environment on my mac is now almost identical to yours haha! Thank you for the amazing and helpful content!
@lennypinskiy6598
@lennypinskiy6598 Год назад
This is an excellent video. Thank you so much for making it and introducing me to this fantastic technology!
@erpelappel753
@erpelappel753 Год назад
This is pretty cool. I was using tidy windows since an eternity, but Yabai is even better. Thanks!1!
@emptyd3v
@emptyd3v Год назад
I just found yabai when configuring my MBP for Rust development. This video is by far, the best resource I could find for an introduction to yabai and skid. Thanks for sharing! Subbed🔔Ding!
@yesidev4131
@yesidev4131 8 месяцев назад
Man your content it's awesome, this week I received my MacBook Pro with m2 pro by the new company I started works, it's the first time work with Mac, and I'm fascinated with this type of programs and the entire develops ecosystem.
@anmiasm
@anmiasm 9 месяцев назад
Super clear, great production quality, thanks!
@AllenChillax
@AllenChillax 11 месяцев назад
Amazing video! Thanks a lot, I've learnt carefully and set my configurations, it works perfectly like what I want now! 😄
@yugioh8810
@yugioh8810 Месяц назад
I felt a bit lost with this all config at first when i was checking the original repo. but with this video now i have my setup complete and great. thank you a lot for this great video you are a life saver I love you subscribed
@daren021
@daren021 Год назад
Thanks, i 'been using this configuration as programmer with a mac who missed their old i3 linux days and it's been great.
@joseanmartinez
@joseanmartinez Год назад
Awesome! Happy to hear that, thanks for the feedback!
@maxreuv
@maxreuv Год назад
Excellent! I am currently using Amethyst but this setup you showed seems way more flexible. Thank you!
@joseanmartinez
@joseanmartinez Год назад
Awesome! I tried Amethyst too, but ended up liking this better!
@sspaeti
@sspaeti Год назад
Thanks so much for making this, and even at perfect timing. I've been using Amethyst for a while now, but they are so buggy lately that I wanted to try Yabai. Will definitely try it out now!
@joseanmartinez
@joseanmartinez Год назад
@@sspaeti Awesome! Same here, Amethyst was a bit too buggy for me and this was working a lot better and is a lot more flexible as well.
@eltongarcia6105
@eltongarcia6105 Год назад
@@joseanmartinez I am using Yabai but I am always asking myself if I should try Amethyst. A video comparing the two would be awesome so I don`t have to go into the task of install and configure Amethyst just to compare. thanks
@ErmandDurro
@ErmandDurro Год назад
Loved the video. Amazing content. Thank you Josean 😃
@themarksmith
@themarksmith 10 месяцев назад
Excellent, excellent video... you explain things very well 10/10!
@jonnywester3194
@jonnywester3194 Год назад
Really very educating and inspirational!! Thank you!
@realbootybabe
@realbootybabe Год назад
Thanks a lot! This is the basis tutorial of every tilling wm! Great :)
@tuncayerman3889
@tuncayerman3889 Год назад
one of the great tools, well done! Thanks for sharing.
@SuperRandall420
@SuperRandall420 Год назад
Glad I found this video. Coming from linux using i3wm for the past few years. Was hoping there was a decent tiling window manager. It's even looking like I can keep the same keybindings too.
@codingleo
@codingleo Год назад
Really good content! Thanks for sharing!
@rafaelfez
@rafaelfez Год назад
Awesome video man, thanks a lot!
@ilovepeaceandplaying8917
@ilovepeaceandplaying8917 10 месяцев назад
amazing video with detailed explanations. Thanks
@gokhan_onal
@gokhan_onal Год назад
Thank you for the info. I have bee looking for a tool like yabai. You saved my time because I already started to think about coding such tool :)
@noweddev
@noweddev Год назад
10/10 video! Tyvm, instant sub
@flwi
@flwi Год назад
That was really handy to see it in action. Thanks for that nice intro!
@joseanmartinez
@joseanmartinez Год назад
Happy to hear that, thanks!
@carlosdelgado5632
@carlosdelgado5632 Год назад
thank you so much for this vide, it really help 🚀the productivity
@alonso0188
@alonso0188 Год назад
Thank you for this video, really easy to follow as always.
@joseanmartinez
@joseanmartinez Год назад
Awesome! Thanks for the feedback!
@kamalkamals
@kamalkamals Год назад
Great video and helpful, i really like the way how u explain, that's way i subscribe now, keep up!
@markring40
@markring40 Год назад
Great video! Thank you 🙏
@nick-ukraine
@nick-ukraine Год назад
Thanks for the video, it was interesting for me.
@redDuck757
@redDuck757 Год назад
Great video! Thank you a lot
@temp2837
@temp2837 Год назад
Very useful video, thanks a lot
@jamesee3929
@jamesee3929 Год назад
Thanks for the great tutorial 👍
@ryansteiger6960
@ryansteiger6960 Год назад
This is great, thank you so much 👍 This will take a while for me to get used to 🤯
@joseanmartinez
@joseanmartinez Год назад
Happy to hear you enjoyed the video! I'm still getting used to it too!
@nagisupercell
@nagisupercell Месяц назад
Wow. This is really cool.
@lifeofmrc
@lifeofmrc Год назад
This video was insanely useful - thank you
@joseanmartinez
@joseanmartinez Год назад
Happy to hear that! Thanks!
@jorge28624
@jorge28624 Год назад
I just installed it and I'm loving how good Yabai is
@joseanmartinez
@joseanmartinez Год назад
Awesome!
@ryanguo13
@ryanguo13 Год назад
This video is good, thank you very much
@EmilioAyala
@EmilioAyala 7 месяцев назад
excellent video. thank you!
@aviadhaham5523
@aviadhaham5523 Год назад
wow man thank you so much for this, this tool is crazy
@joseanmartinez
@joseanmartinez Год назад
Awesome, thanks for the feedback!
@phantuananh2163
@phantuananh2163 7 месяцев назад
Excellent video 🧡
@benarcher372
@benarcher372 5 месяцев назад
Nice, thank you so much!
@cillian_scott
@cillian_scott Год назад
Even myself as a keyboard-only fanatic love the app Swish for window management
@thanhdang3453
@thanhdang3453 Год назад
Thank you for sharing your great setup (y). For those who concerns disable `System Integrity Protection`: You may not need it. We can workaround, e.g. "Move current window to Space 1, and switch to Space 1 as well." hyper - y : yabai -m window --space 1 && osascript -e "tell application \"System Events\" to keystroke \"h\" using {command down, control down, option down, shift down}"
@mqhg
@mqhg Год назад
That’s really helpful!😊
@joseanmartinez
@joseanmartinez Год назад
Happy to hear that, thanks!
@NicolasRuizX
@NicolasRuizX Год назад
One of the things I miss about my old Linux setup is i3-gaps, and since I switched to Macbook 2 years ago It still feels so slow just moving around, too many unnecessary animations. I've tried magnet and amethyst and is not the same It's like the tiling system of Gnome on Linux. Seeing this video I got my hopes again of getting my setup just like I used to have. I will definitely will try this, thanks!!
@joseanmartinez
@joseanmartinez Год назад
Awesome!
@wthrajat
@wthrajat Год назад
Did this work well for you? Also you found any alternative to i3-gaps?
@thebosha90
@thebosha90 Год назад
Thanks for great tutorial and showcase. Could you please tell is it possible to enable/disable yabai only for some virtual desktop?
@dandange
@dandange Год назад
Really like your tutorials. I followed the one on iTerm2 and find it really useful. Do you have a video on your product workflow of these tutorials, i.e what tool you use for screen recording and do you do much post editing etc? If you can do a video on this that would be great.
@mroyme
@mroyme Год назад
Great video. My work system is a MacBook Pro and I use Arch with Sway on my personal laptop. The systems are so different that the change feels jarring when swapping from one to the other. This should help!
@joseanmartinez
@joseanmartinez Год назад
Awesome!
@8BitTorrent
@8BitTorrent Год назад
Same here! Glad I found this video, since he does such a good job of explaining every detail of the installation
@3niknicholson
@3niknicholson 11 месяцев назад
Thanks for the vid. Clear and informative. Having recently installed Void/swaywm multi-booting on my Macbook inspired me to look at yabai, thence here. I understand the appeal of a tiling wm on a large enough screen, but I don't code, my query is: what advantages does macOS have over BSD/Linux that keeps devs/coders on macOS?
@0xc0ffee_
@0xc0ffee_ 4 месяца назад
I love this! The keybindings are very sensible. How do you integrate with the creation of new tabs in your terminal emulator? Do you even use that or do you just open a new terminal instance altogether?
@AlesRozmarin
@AlesRozmarin Год назад
Great video, I'm using similar settings as you, I just add stackline that I can stack windows. If you are using many windows open handy.
@joseanmartinez
@joseanmartinez Год назад
Awesome, thanks!
@maurogarcia2012
@maurogarcia2012 3 месяца назад
Amazing video, as always! Do you know if yabai allows you to customize window borders so it's easier to spot the focused window? Cheers!
@ondrejhadrava4109
@ondrejhadrava4109 Месяц назад
Banger!
@The_Default_User
@The_Default_User Год назад
your setup videos are top notch brother! Thank you.
@joseanmartinez
@joseanmartinez Год назад
Appreciate the feedback, glad you enjoyed the video!
@ericandresen680
@ericandresen680 Год назад
Thanks for an awesome video, I am about to het my first MacBook at woork soon and were afraide that the windows handeling on Mac would be the same as it were 10 years ago :O But this tight here looks verry promesing. One question thoguh, i use Hyper/Hyper shift as my Caps Lock key right now, both on Windows and Linux. And you say that it is possible to create the same for Mac and that i can use that for all the sgortcuts shown/configured in this video?
@abdulbasir8740
@abdulbasir8740 2 месяца назад
Thank you brother
@vhaiker
@vhaiker Год назад
Your keyboard sounds very satisfying 😀
@XvolksApps
@XvolksApps 8 месяцев назад
With the configuration described in the video, I had an issue as Option + click was not working anymore in Finder (and probably other applications) : I changed to `yabai -m config mouse_modifier fn` in yabairc file. It now uses the fn key instead of Option.
@crowvampire
@crowvampire 7 месяцев назад
Thanks for this video your explanation es super. What app are you using to display your keys at screen?
@nanthilrodriguez
@nanthilrodriguez Год назад
Wish these sorts existed when I was getting started.
@briancarmichael6748
@briancarmichael6748 3 месяца назад
Great video and fan of your page. I was wondering if its possible for settings to reset after a computer restart. I ask because my tiles are re-sizing anymore.
@kingcchultz3366
@kingcchultz3366 Год назад
Bro it's sooo cool
@zatochiSiberian
@zatochiSiberian Год назад
Great! Thanks
@iansecretario1337
@iansecretario1337 Год назад
Hey man! Great video.. do you know if yabai can do similar thing like in i3 where the current active window can be centered when pressing a key and put it back when pressed again
@user-lo9bh2cd3b
@user-lo9bh2cd3b Год назад
awesome video
@fammilogga
@fammilogga Год назад
do you use linux VMs with your mac? how do you cope this setup with possible overlapping shortcuts in a linux vm tile manager?
@hoangtran-ek8mn
@hoangtran-ek8mn Год назад
I think it's fantastic
@kelimiao9657
@kelimiao9657 Год назад
Brother, I want to know how you debug when you use nvim. I don't see a debug plugin like nvim-dap in your nvim settings. I'm curious about what you do when you need to debug?
@tuananhdo1870
@tuananhdo1870 3 месяца назад
reduce motion setting is gold
@lironglin4739
@lironglin4739 6 месяцев назад
amazing video! May I ask what app you are using to display the keystrokes🤔? It looks nite!
@yilima
@yilima 10 месяцев назад
Awesome stuff, using your config and its amazing. ONE thing that messes up everything and the experience.. TEAMS mini window that pops up as soon as I change screens. Any solutions for that? I tried to add teams to manage=off but no success..
@crwan88
@crwan88 Год назад
Great job sharing the video! 🎉 13:10 I have a question about setting up a tiling window manager with iTerm2 on my MacBook Pro (M1). I was able to successfully set up skhdrc for my browser, email, and default terminal, but when I try to use iTerm2 and, for example, press `shift+option y`, a weird symbol appears on my screen and it doesn't have any effect. Do you have any tips for setting up iTerm2 with a tiling window manager?
@rijojohn85
@rijojohn85 Год назад
This could be because you have secure keyboard entry enabled. Try Unselecting it from iTerm2 menu.
@pencilcheck
@pencilcheck Год назад
awesome!
@sonluuh
@sonluuh 11 месяцев назад
helps me too much :D
@ThePandaGuitar
@ThePandaGuitar Год назад
Great tips. My favorites were the reduce motion and the hyper key
@rednil8242
@rednil8242 Год назад
Thanks for the video. Are you tried to use yabai with macos stage manager? It seems to work pretty clumsy for me, so i'm trying to find the way of combining them in a meaningful way. Any help would be appreciated!
@yekeno
@yekeno 7 месяцев назад
Good work, I also use yabai at Mac before, I use xmonad, stumpwm, I just want to know how to do with popup windows, what rule it is? I always want left windows hold half of screen, others on the right, also make focus window can swap with left windows, most of operation is on the left window, I will just view other windows as monitor windows. Another confused me that is there are many windows are hidden at background even on the same workspace, I use bsp layout. Thanks a lot
@chokdeesam2365
@chokdeesam2365 Год назад
Is it possible to add transition animation ?? (for wider or shorter tiling window)
@erikklumpp3464
@erikklumpp3464 Год назад
running into an issue where my dekstop keeps defaulting to my main desktop. In mission control I have all features turned off except for displays have separate spaces. In any ideas on how to fix?
@RobertMcGovernTarasis
@RobertMcGovernTarasis 5 месяцев назад
Definitely useful and informative video …. And terrifying :) not sure I’d remember a 1/6 of those keyboard shortcuts
@hayashimikaboo
@hayashimikaboo Год назад
In the keyboard settings, only the shortcuts for switching to desktop 1 and desktop 2 show up for me. Even when I open a couple more desktops. Any ideas on how to fix this?
@aftamohd
@aftamohd Год назад
is there a way to make an application launch via keyboard shortcut ? like to open iterm2 we can hit CMD+ENter to launch Item
@HolaMundoDev
@HolaMundoDev Год назад
Que pasó? porque no hay más videos?? son muy buenos!
@LoopyLucy95
@LoopyLucy95 Год назад
I've just switched from a Linux system running Pop! To a macbook air and I was wondering how to do this yesterday, it's like you read my mind.
@gonove97
@gonove97 Год назад
try PopOs
@joseanmartinez
@joseanmartinez Год назад
Awesome! Glad I could help.
@joseanmartinez
@joseanmartinez Год назад
@@gonove97 I believe you can't run that natively on Apple Silicon Macbooks as of right now.
@iBrandooon
@iBrandooon Год назад
this is literally i3WM + tmux + nvim setup on my linux :) exciting its on macOS :)
@eddiefay988
@eddiefay988 8 месяцев назад
Is there a way to to use a large TV as a monitor, but split the screen like this window manager Yabai tool to instead display each Spaces Desktop as multiple [virtual] monitors?
@kevinzheng3987
@kevinzheng3987 9 месяцев назад
Amazing video! Does Yabai have the feature to stack windows?
@danieldosen5260
@danieldosen5260 Год назад
I was just checking out yabai as well - Great video and nice production value! My question after looking at the docs and watching your video - What's the `alt` key on a macos keyboard?
@joseanmartinez
@joseanmartinez Год назад
Hey! Thanks for the feedback! “Alt” on mac is the equivalent to the “Option” key.
@lle5159
@lle5159 Год назад
Thanks for the video! I also find your screen wallpaper very beautiful. How may I find the same?
Далее
Are Linux Tiling Window Managers Worth It?
8:20
Просмотров 81 тыс.
🤔
00:28
Просмотров 953 тыс.
100+ Linux Things you Need to Know
12:23
Просмотров 846 тыс.
Blazing Fast Window Management on macOS
19:06
Просмотров 69 тыс.
My ARCH LINUX Experience
13:23
Просмотров 6 тыс.
Why You Should NEVER Use These Apps On Your Mac...
12:51
Set up a Mac in 2024 for Power Users and Developers
1:00:34
Tiling Window Managers suck. Here's why
10:35
Просмотров 433 тыс.
Effective Neovim: Instant IDE
16:16
Просмотров 787 тыс.
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 26 млн