-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot.yabairc
executable file
·34 lines (23 loc) · 948 Bytes
/
dot.yabairc
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
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
yabai -m config layout bsp
# yabai -m config window_placement first_child
# yabai -m config window_placement second_child
yabai -m config top_padding 10
yabai -m config bottom_padding 10
yabai -m config left_padding 10
yabai -m config right_padding 10
yabai -m config window_gap 10
# Override gaps for space 2 only
yabai -m config --space 2 window_gap 0
# MOUSE ACTIONS
###############
# set mouse interaction modifier key (default: fn)
yabai -m config mouse_modifier fn
# set modifier + left-click drag to resize window (default: move)
yabai -m config mouse_action1 move
# set modifier + right-click drag to resize window (default: resize)
yabai -m config mouse_action2 resize
# kill any existing limelight process if one exists, before we launch a new one
killall limelight &> /dev/null
limelight --config ~/dotfiles/limelightrc