yabai
yabai copied to clipboard
Alacritty 0.10.1 opens in float mode
Mac Monterey 12.3.1 Yabai v4.0.0
I just upgraded Alacritty to version 0.10.1 and am surprised to see it open in the center of my screen, above all other windows.
Things I've tried:
- Restart yabai
- Remove ~/.config/alacritty/alacritty.yaml
Whatever the issue is, it was definitely introduced in Alacritty 0.10.0 as 0.9.0 runs fine.
Got the same issue.
same
Same, but its probably an alacritty issue rather than a Yabai one
One workaround I have found that works with 0.10.1 is the following in .skhdrc
:
# instead of just `alacritty` or `/opt/homebrew/bin/alacritty`
cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty
actually i restarted my yabai and it seems to work now
Using open
with the -n
flag did the trick for me. Example skhdrc
:
hyper - return : open -n -a 'Alacritty.app'
I don't use skhd, but have this issue. Is there any way to fix that?
This is an Alacritty issue.
Any other advice on solving this issue?
One workaround I have found that works with 0.10.1 is the following in
.skhdrc
:# instead of just `alacritty` or `/opt/homebrew/bin/alacritty` cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty
The issue still reproduces for me even when using this path instead of the homebrew one. I'm not sure what really different between the two they have the same hash
hbp ➜ ~ sha512sum $(which alacritty)
d34e0a15219619c27763826ef12251ed999a9e18a19205d32a63df52a00e5259ce71820437dbb99b636c9c8c31b34a2d77fba24313ac8dd11c1ed3900bc3de8f /opt/homebrew/bin/alacritty
hbp ➜ ~ sha512sum /Applications/Alacritty.app/Contents/MacOS/alacritty
d34e0a15219619c27763826ef12251ed999a9e18a19205d32a63df52a00e5259ce71820437dbb99b636c9c8c31b34a2d77fba24313ac8dd11c1ed3900bc3de8f /Applications/Alacritty.app/Contents/MacOS/alacritty
I use this command to reproduce the issue:
while true; do
alacritty -t 'test yabai bsp' -e sh -c 'yabai -m query --windows --window | jq .title; sleep 0.5';
sleep 0.5
done
I'm gonna try and see what changed in my set up to trigger this issue now. Maybe going back to an older Alacrity build would help?
Whatever the issue is, it was definitely introduced in Alacritty 0.10.0 as 0.9.0 runs fine.
Perhaps I'll stick with 0.9.0 for now
@hamidzr for me hash of /opt/homebrew/bin/alacritty
differs from that of /Applications/Alacritty.app/Contents/MacOS/alacritty
version: 0.12.2