Changing focus between monitors partially working
Amias-Burrows opened this issue · comments
I've got my Yabai shortcuts setup using SKHD and I've found recently that leaving my external monitor using alt + shift - l
doesn't work. It unselects the current application window, but not the application specifically and doesn't move myself over to my main monitor.
Here is my SKHD config file:
1 Changing window focus
2
3 alt - j : yabai -m window --focus south
4 alt - k : yabai -m window --focus north
5 alt - h : yabai -m window --focus west
6 alt - l : yabai -m window --focus east
7
8 # Change focus between monitors
9
10 alt + shift - h : yabai -m display --focus west
11 alt + shift - k : yabai -m display --focus north
12 alt + shift - j : yabai -m display --focus south
13 alt + shift - l : yabai -m display --focus east
14
15 # Swap layout
16
17 alt - a : yabai -m window --swap west
18 alt - f : yabai -m window --swap east
19 alt - s : yabai -m window --swap south
20 alt - d : yabai -m window --swap north
21
22 # Rebalance windows
23
24 alt - b : yabai -m space --layout bsp
25
26 # Rotate windows
27
28 alt - n : yabai -m space --rotate 90
29 alt - m : yabai -m space --rotate 270
And here's my Yabai config file.
1 # bsp, stack or float
2 yabai -m config layout bsp
3
4 yabai -m config window_placement second_child
5
6 # Padding
7 # yabai -m config top_padding 12
8 # yabai -m config bottom_padding 12
9 # yabai -m config left_padding 12
10 # yabai -m config right_padding 12
11 yabai -M config window_gap 12
12
13 # Mouse settings
14
15 yabai -m config mouse_follows_focus on
16
17 yabai -m config mouse_modifier alt
18 yabai -m config mouse_action1 move
19 yabai -m config mouse_action2 resize
20
21 yabai -m config mouse_drop_action swap
22
23
24 yabai -m rule --add app="^(Harvest|System Settings|Calculator|Finder|1Password|Surfshark|AirDroid|Loom)$" sticky=on layer=above manage=off
25
26 yabai -m rule --add app="Visual Studio Code" opacity=0.7
I've usually got it setup so my monitor is left and higher than my main monitor so I use alt + shift - l
to move monitors out of my second display:
I have just tried rearranging the displays but I get the same results, I can switch into the external monitor but not out of it again.
Does anyone know how I can fix this or what might be the issue?