-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mouse option to WINDOW_SEL #66
Comments
Does mouse, cursor or pointer make the most sense? I personally find cursor / pointer to be better than mouse, but considering the other options use mouse, would it be better to use that here as well, for consistency? |
Mouse is probably better for consistency, while cursor would be technically more correct. So mouse it is, because consistency in the command line interface is important. |
New value added to the definition of WINDOW_SEL: mouse.
|
Awesome. Added it to the wiki already. I've now been using the below snippet for 5 minutes and love it already. Fixes issues with closing floating windows quite smoothly in my opinion. yabai -m signal --add event=window_destroyed \
action="yabai -m window --focus mouse" |
This signal system actually has way more potential than I originally realized during its development, especially considering how easy it was to implement. Overall I am much more satisfied with how yabai is structured / organized than I ever was with chunkwm. Guess third time's the charm. |
Yeah, I've recently realised that I can just split my config into multiple files and reload selected files on certain signals. This has made my setup so much better, it's almost unreal. Gotta publish my dotfiles sometime to show off all these scripts I made already. |
@dominiklohmann Wow the lazy-load of config is a great idea! What about making a ‘Tips & Tricks’ in a wiki and adding some config ideas... (especially ones that use signals) Sent with GitHawk |
Proposal
Add a
cursor
mouse
option toWINDOW_SEL
, so that the focus, swap and warp window commands can interact with the window under thecursormouse.This is mostly useful with ffm disabled, but focusing the window under the
cursormouse may also be useful on some signals, e.g.window_destroyed
.The text was updated successfully, but these errors were encountered: