66 lines
3.0 KiB
Bash
Executable File
66 lines
3.0 KiB
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
#yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
|
#sudo yabai --load-sa
|
|
|
|
yabai -m signal --add event=window_focused action="sketchybar --trigger window_focus"
|
|
yabai -m signal --add event=window_created action="sketchybar --trigger windows_on_spaces"
|
|
yabai -m signal --add event=window_destroyed action="sketchybar --trigger windows_on_spaces"
|
|
|
|
yabai -m config \
|
|
mouse_follows_focus off \
|
|
focus_follows_mouse off \
|
|
window_origin_display default \
|
|
window_placement second_child \
|
|
window_topmost off \
|
|
window_shadow on \
|
|
window_animation_duration 0.0 \
|
|
window_opacity_duration 0.0 \
|
|
active_window_opacity 1.0 \
|
|
normal_window_opacity 0.90 \
|
|
window_opacity off \
|
|
insert_feedback_color 0xffd75f5f \
|
|
active_window_border_color 0xff775759 \
|
|
normal_window_border_color 0xff555555 \
|
|
window_border_width 2 \
|
|
window_border_radius 11 \
|
|
window_border_blur off \
|
|
window_border_hidpi off \
|
|
window_border on \
|
|
split_ratio 0.50 \
|
|
split_type auto \
|
|
auto_balance off \
|
|
top_padding 10 \
|
|
bottom_padding 10 \
|
|
left_padding 10 \
|
|
right_padding 10 \
|
|
window_gap 06 \
|
|
layout bsp \
|
|
mouse_modifier fn
|
|
#focus_follows_mouse autofocus \
|
|
#mouse_modifier alt \
|
|
#mouse_action1 move \
|
|
#mouse_action2 resize \
|
|
#mouse_drop_action swap
|
|
|
|
#yabai -m rule --add app="System Settings" sticky=on layer=above manage=off
|
|
#yabai -m rule --add app="System Settings" manage=off layer=above
|
|
#yabai -m rule --add label="System Settings" app="^System Settings$" title=".*" manage=off
|
|
yabai -m rule --add app="^(LuLu|Calculator|Software Update|Dictionary|System Preferences|System Settings|zoom.us|Photo Booth|Archive Utility|Python|LibreOffice|App Store|Activity Monitor)$" manage=off
|
|
#yabai -m rule --add app="iTerm" layer=above space=10
|
|
#yabai -m rule --add title='mylauncher' manage=off sticky=on layer=above border=off
|
|
yabai -m rule --add title='mylauncher' manage=off sticky=on sub-layer=above
|
|
yabai -m rule --add title='scratchpad' sub-layer=above space=10 grid=4:4:1:1:2:2 manage=off
|
|
|
|
#open -a Mail
|
|
|
|
#rm /Users/slococo/.cache/launcher_opts
|
|
|
|
/usr/local/bin/clauncher update &
|
|
|
|
/Users/slococo/.local/bin/open.sh &
|
|
|
|
/Users/slococo/.local/bin/doNotCharge.sh &
|
|
|
|
borders &
|