Comments (1)
Solution:
#!/bin/bash
prev_state=""
while true; do
curr_state=$(yabai -m query --windows --window | jq -er '."is-native-fullscreen"')
if [[ "$prev_state" == "true" && "$curr_state" == "false" ]]; then
yabai -m window $YABAI_WINDOW_ID --toggle zoom-fullscreen
fi
prev_state=$curr_state
sleep 0.5
done
from yabai.
Related Issues (20)
- Title change signal HOT 1
- Moving window to next space, then focusing that space, doesn't focus that window HOT 3
- Fullscreen exits randomly HOT 2
- Scripting Addition: Connection Issue HOT 1
- "could not locate window with the specified id" or "could not locate the window to act on!"
- Retiling can take multiple seconds to settle HOT 2
- Restarting the yabai service causes yabai to manage previously unmanaged windows HOT 5
- By changing of monitor it doesnt update the new space focus.
- macOS Sequoia HOT 48
- Cmd-tab and pulling app vs user HOT 4
- scripting addition can't be loaded after sleep
- Mouse jumps to wrong window with 'multiple windows of same app' and 'mff & ffm'
- Assigning spaces to monitors
- loader quit unexpectedly on macOS 15.0 (Sequoia) HOT 25
- Semi-regular Dock-crashes on load-sa. Sonoma 14.5
- Is there a way to detect the toggle status of a scratchpad?
- yabai is not working after updating macos HOT 4
- Yabai manage=off is not working. HOT 5
- Yabai unable to manage Windows apps installed using whiskey
- When moving an unmanaged/floating window to next display, it disappears HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yabai.