How can I only float small windows and dialog boxes? #1300
Unanswered
BeansIsFat
asked this question in
Q&A
Replies: 2 comments 4 replies
-
I set the manage to off on my child windows of my most popular apps. For example:
I've never looked at the possibility of a certain window size, but maybe the above can help you? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Haven't tried/tested this, but should be doable by executing a shell script on
yabai -m signal --add event=window_created \
action=/path/to/below_shell_script.sh shell script: # Contains dimensions of the window in `frame`.
local window=$(yabai -m query --windows --window)
# -e flag sets exit status to 0 if last output value is neither `false` nor `null`.
if echo "$window" | jq -e '.frame | (.w <= 500) and (.h <= 500)'
then
yabai -m window --toggle float
fi |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to always float windows and dialog boxes that are under a certain size? I would expect this to be done with a rule don't see anything in the rules documentation that mentions window size. And I haven't found anything in the wiki or discussions that mention this.
Beta Was this translation helpful? Give feedback.
All reactions