Created
August 25, 2024 15:11
-
-
Save watsy0007/b6cb19b2fdd38655c2545d3a4a36957b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# global settings | |
yabai -m config \ | |
external_bar off:40:0 \ | |
menubar_opacity 1.0 \ | |
mouse_follows_focus off \ | |
focus_follows_mouse off \ | |
window_origin_display default \ | |
window_placement second_child \ | |
window_zoom_persist on \ | |
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 \ | |
split_ratio 0.50 \ | |
split_type auto \ | |
auto_balance off \ | |
top_padding 36 \ | |
bottom_padding 10 \ | |
left_padding 10 \ | |
right_padding 10 \ | |
window_gap 06 \ | |
layout bsp \ | |
mouse_modifier alt \ | |
mouse_action1 move \ | |
mouse_action2 resize \ | |
mouse_drop_action swap | |
# floating windows | |
yabai -m rule --add app="^(System Settings|EuDic)$" manage=off | |
yabai -m rule --add app="^(哔哩哔哩)$" title!="^(哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili)$" manage=off layer=above | |
yabai -m rule --add app="^WeChat$" title!="^(WeChat \(Chats\))$" manage=off | |
yabai -m rule --add app="^Twitter$" title!="^Twitter$" manage=off | |
borders active_color=0xffe1e3e4 inactive_color=0xff494d64 width=5.0 & | |
echo "yabai configuration loaded.." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment