Closed Apolsus closed 1 year ago
Reffernce to the document, yabai -m window --toggle sticky change the sticky property of the window. However, it never works, the sticky property is always false.
yabai -m window --toggle sticky
false
I write a script and bind it to hotkey option+U, here is the script
option+U
1 #!/bin/zsh 2 3 # @raycast.schemaVersion 1 4 # @raycast.title Sticky Window 5 # @raycast.mode fullOutput 6 7 # Documentation: 8 # @raycast.description Toggle current window's sticky status 9 # @raycast.author Amadeus 10 11 12 yabai -m window --toggle sticky 13 yabai -m query --windows --window
How to solve this?
System: MacOS 13 Deviec: mbp(m1)
Solved, I upgrade yabai without update the visudo file.
And this https://github.com/koekeishiya/yabai/issues/1054#issuecomment-1059404384 is very important!
Reffernce to the document,
yabai -m window --toggle sticky
change the sticky property of the window. However, it never works, the sticky property is alwaysfalse
.I write a script and bind it to hotkey
option+U
, here is the scriptHow to solve this?
System: MacOS 13 Deviec: mbp(m1)