Updating yabai (from latest HEAD) - Script #1904
Replies: 5 comments 1 reply
-
thanks to share |
Beta Was this translation helpful? Give feedback.
-
I updated the script to be a bit more friendly and check if yabai is currently pinned before trying to unpin it. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD) |
Beta Was this translation helpful? Give feedback.
-
Amazing! Thanks for the script. https://github.com/tjex/dotfiles/blob/mac/.local/scripts/sys-admin/update-yabai |
Beta Was this translation helpful? Give feedback.
-
Hello, just wanted to share an update script I put together..
I know there is a auto update in the wiki, but that has stopped working for me and every time I needed to update, I had to do every step manually.
With this script you can run an zsh alias, enter your sudo password and your done!
Change log
Nov. 17, 2023
Nov. 22, 2023
Summary
Observations:
Let's get started
Create a file called update.sh with you favorite editor and save it to you Yabai config folder:
If you prefer you can download it from my .dotfiles here > update.sh
code $HOME/.config/yabai/update.sh
Paste this code to it:
I'm assuming you kept the default name of YABAI_CERT=yabai-cert, else you'll need to change it.
Make the file executable:
chmod +x $HOME/.config/yabai/update.sh
Than you can execute it with:
$HOME/.config/yabai/./update.sh
Or you can add an alias to your .zshrc file like so:
Call it whatever you'd like by changing
yabai.up
and just call it in you fav terminal 😮💨Note; for Yabai stable release installs, use the modified version of this script put together by @tjex (#1904 (comment))
Credits:
suyabai
function was borrowed from someone's .dotfiles which I don't remember who, so I can't give proper credit!Beta Was this translation helpful? Give feedback.
All reactions