-
Notifications
You must be signed in to change notification settings - Fork 0
/
.skhdrc
executable file
·78 lines (63 loc) · 2.87 KB
/
.skhdrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Navigation
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
alt - l : yabai -m window --focus east
# Move focus container to workspace
alt - n : yabai -m space --focus prev && yabai -m window --focus first
alt - m : yabai -m space --focus next && yabai -m window --focus first
alt - 1 : yabai -m space --focus 1
alt - 2 : yabai -m space --focus 2
alt - 3 : yabai -m space --focus 3
alt - 4 : yabai -m space --focus 4
alt - 5 : yabai -m space --focus 5
alt - 6 : yabai -m space --focus 6
alt - 7 : yabai -m space --focus 7
alt - 8 : yabai -m space --focus 8
alt - 9 : yabai -m space --focus 9
# Moving windows
fn - h : yabai -m window --warp west
fn - j : yabai -m window --warp south
fn - k : yabai -m window --warp north
fn - l : yabai -m window --warp east
# Move focus container to workspace
fn - n : yabai -m window --space prev && yabai -m space --focus prev
fn - m : yabai -m window --space next && yabai -m space --focus next
fn - 1 : yabai -m window --space 1 && yabai -m space --focus 1
fn - 2 : yabai -m window --space 2 && yabai -m space --focus 2
fn - 3 : yabai -m window --space 3 && yabai -m space --focus 3
fn - 4 : yabai -m window --space 4 && yabai -m space --focus 4
fn - 5 : yabai -m window --space 5 && yabai -m space --focus 5
fn - 6 : yabai -m window --space 6 && yabai -m space --focus 6
fn - 7 : yabai -m window --space 7 && yabai -m space --focus 7
fn - 8 : yabai -m window --space 8 && yabai -m space --focus 8
fn - 9 : yabai -m window --space 9 && yabai -m space --focus 9
# Create a Space on Display and move to it.
fn - c : yabai -m space --create && yabai -m space --focus last
# Shift Window Focus to First
alt - space : yabai -m window --focus first
# Shift Display Focus
alt - d : yabai -m display --focus next || yabai -m display --focus prev
# Move Window To Display
fn - d : yabai -m window --display recent && yabai -m display --focus recent
# Move Space To Display
shift + fn - space : yabai -m space --display recent && yabai -m space --focus recent
# Increase Window Size
ctrl - left : yabai -m window --resize left:-20:0
ctrl - down : yabai -m window --resize bottom:0:20
ctrl - up : yabai -m window --resize top:0:-20
ctrl - right : yabai -m window --resize right:20:0
# Decrease Window Size
shift + ctrl - left : yabai -m window --resize left:20:0
shift + ctrl - down : yabai -m window --resize bottom:0:-20
shift + ctrl - up : yabai -m window --resize top:0:20
shift + ctrl - right : yabai -m window --resize right:-20:0
# BALANCE: balance size of windows
alt - b : yabai -m space --balance
# ROTATE: rotate tree
alt - r : yabai -m space --rotate 270
# ZOOM: toggle window fullscreen zoom
alt - z : yabai -m window --toggle zoom-fullscreen
# FLOAT: float / unfloat window and center on screen
alt - f : yabai -m window --toggle float;\
yabai -m window --grid 4:4:1:1:2:2