Coder Social home page Coder Social logo

Comments (4)

koekeishiya avatar koekeishiya commented on July 17, 2024

Change your signal to:

yabai -m signal --add event=window_created action="yabai -m window \$YABAI_WINDOW_ID --toggle zoom-fullscreen"

from yabai.

lmBored avatar lmBored commented on July 17, 2024

Thank you, it works now, but changing input source is still marked as creating a new window:

EVENT_HANDLER_SLS_SPACE_REMOVE_WINDOW: 292 removed from 8
EVENT_HANDLER_SLS_SPACE_ADD_WINDOW: 292 added to 8

However, that doesn't matter for me anymore, thank you!

from yabai.

weeebdev avatar weeebdev commented on July 17, 2024

Same problem, maybe should reopen? @lmBored
When switch layout in Arc browser, it creates a new window with the input source window.

window_manager_create_and_add_window:60605 Arc -
event_signal_flush: transmitting window_created to 1 subscriber(s)
EVENT_HANDLER_WINDOW_RESIZED: Arc 60531
EVENT_HANDLER_WINDOW_MOVED: Arc 60605
EVENT_HANDLER_WINDOW_DESTROYED: Arc 60605
EVENT_HANDLER_WINDOW_RESIZED: Arc 60531
event_signal_flush: transmitting window_destroyed to 1 subscriber(s)
window_manager_create_and_add_window:60605 Arc -
event_signal_flush: transmitting window_created to 1 subscriber(s)
EVENT_HANDLER_WINDOW_RESIZED: Arc 60531
EVENT_HANDLER_WINDOW_MOVED: Arc 60605
EVENT_HANDLER_MOUSE_DOWN: 29295 552.90, 849.43
EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: WezTerm (93689)
EVENT_HANDLER_APPLICATION_DEACTIVATED: Arc
EVENT_HANDLER_APPLICATION_ACTIVATED: WezTerm
EVENT_HANDLER_WINDOW_DESTROYED: Arc 60605
event_signal_flush: transmitting window_focused to 1 subscriber(s)
event_signal_flush: transmitting window_destroyed to 1 subscriber(s)

from yabai.

weeebdev avatar weeebdev commented on July 17, 2024

I tried to interrupt the process, seems that signal is being activated only after resizing:

window_manager_create_and_add_window:72756 Arc -
EVENT_HANDLER_WINDOW_RESIZED: Arc 72752
event_signal_flush: transmitting window_created to 2 subscriber(s)
EVENT_HANDLER_WINDOW_MOVED: Arc 72756
jq: error: $YABAI_WINDOW_ID is not defined at <top-level>, line 1:

from yabai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.