![]() You first launch the action to select the first window to apply the action, then change focus to the second window, and finally you call that action again to execute the windows action. ![]() Those are actions that applies to two windows, like swaping, stacking and warping. The keystoke super + § will print the current window details in the console. You first use a direction to select horizontal/vertical edge, then all other directions will move it by 20px. This works only in Yabai’s BSP mode for the sides that aren’t on the edge of a screen. You can move edges of windows with the directions. When you are in Insert rule mode, press super + tab to enter this mode. Use super + b to enter the mode and right or left direction to send your window to the next or previous display. Use super + v to enter the mode and right or left direction to put your mouse to the next or previous display. If you press super + tab again, you enter resize mode. Yabai will color the window portion in red. Use super + tab to enter Insert mode, then use super + a direction or h to set the rule. You can decide which window portion to split for a new window to appear or if you want to stack it. You can switch to BSP, Stacked and Float layout for the current space with super + 1, 2 or 3 Insert rule They’ll be used later as both modes and actions. You can use them in combination with many other modes.įor example if you use them on their own, super + j changes the focus to the left (focus change works only with Yabai’s BSP mode). J k l keys corresponds to the four directions ⬅️ ⬇️ ⬆️ ➡️. Modes are triggered with hs.modals, which means you enter them as long as you enter a modal and leaves them when you exit a modal. They are just emojis that shows centered as a visual feedback. Some alerts will briefly show with the actions you made, and will persistently show for the modes you enter in. Most of the actions applies to the currently focused window/the space the focused window is. For simplicity I’ll refer to the QWERTY layout keys. There’s a dedicated section below that explains the use of them. This is some nice reusable code I made for windows actions. You can change it at the top level of my file in the global variable super.hammerspoon/a respond to window events (focus, resize, move)Īll of my shortcuts are triggered with my super key, wich is binded to ⌃⌥ (control + alt).window actions (rotate, fullscreen-focus, toggle float).I tried to segment its content in different categories: Originaly it was a huge file but I started fragmenting it in several pieces to make it more digest to read. Startup file for Yabai, it configures global settings, adds some rules for certain windows and adds signals to communicate with hammerspoon.hammerspoon/a a file with the replaced hotkeys for ease. I added the corresponding QWERTY keys commented in front of the line so you can figure the actual layout. ![]() I’m seeing this much like a evolving tool I shape for my current needs.Īlso, big notice, this is optimised for full keyboard use with BÉPO, a french first keyboard layout. Note this is a very early setting and I’m still configuring this day to day.
0 Comments
Leave a Reply. |