Last active
September 18, 2025 01:18
-
-
Save Unayung/b32a91d4d32885e35cafbc75e04d7a1a to your computer and use it in GitHub Desktop.
.yabairc
This file contains hidden or 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 | |
| # | |
| # for this to work you must configure sudo such that | |
| # it will be able to run the command without password | |
| # | |
| # see this wiki page for information: | |
| # - https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition | |
| # | |
| yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" | |
| sudo yabai --load-sa | |
| # | |
| # global settings | |
| yabai -m config \ | |
| external_bar all:0:0 \ | |
| menubar_opacity 1.0 \ | |
| mouse_follows_focus on \ | |
| focus_follows_mouse autoraise \ | |
| display_arrangement_order default \ | |
| window_origin_display default \ | |
| window_placement second_child \ | |
| window_insertion_point focused \ | |
| window_zoom_persist on \ | |
| window_shadow on \ | |
| window_animation_duration 0.0 \ | |
| window_animation_easing ease_out_circ \ | |
| window_opacity_duration 0.0 \ | |
| active_window_opacity 1.0 \ | |
| normal_window_opacity 0.9 \ | |
| window_opacity on \ | |
| insert_feedback_color 0xff35fc03 \ | |
| split_ratio 0.50 \ | |
| split_type auto \ | |
| auto_balance on \ | |
| top_padding 8 \ | |
| bottom_padding 8 \ | |
| left_padding 8 \ | |
| right_padding 8 \ | |
| window_gap 8 \ | |
| layout bsp \ | |
| mouse_modifier cmd \ | |
| mouse_action1 move \ | |
| mouse_action2 resize \ | |
| mouse_drop_action swap | |
| echo "yabai configuration loaded.." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment