summaryrefslogtreecommitdiff
path: root/macos/yabai
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-15 18:09:57 -0600
committerChristian Cleberg <[email protected]>2026-02-15 18:18:07 -0600
commit590cb005999e9e9d497bf67aa40d6a7a78cc0f1f (patch)
tree37390304688c33ff237aacfea1ac5722d4e25a03 /macos/yabai
parentc3e1b1896ab156f6fa1529ebd630b065eff42efa (diff)
downloaddotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.tar.gz
dotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.tar.bz2
dotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.zip
split files into common, linux, and macos directories
Diffstat (limited to 'macos/yabai')
-rw-r--r--macos/yabai/.config/yabai/yabairc47
1 files changed, 47 insertions, 0 deletions
diff --git a/macos/yabai/.config/yabai/yabairc b/macos/yabai/.config/yabai/yabairc
new file mode 100644
index 0000000..eedc6a9
--- /dev/null
+++ b/macos/yabai/.config/yabai/yabairc
@@ -0,0 +1,47 @@
+#!/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 off:40:0 \
+ menubar_opacity 1.0 \
+ mouse_follows_focus off \
+ focus_follows_mouse off \
+ 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.90 \
+ window_opacity off \
+ insert_feedback_color 0xffd75f5f \
+ split_ratio 0.50 \
+ split_type auto \
+ auto_balance off \
+ top_padding 12 \
+ bottom_padding 12 \
+ left_padding 12 \
+ right_padding 12 \
+ window_gap 06 \
+ layout bsp \
+ mouse_modifier fn \
+ mouse_action1 move \
+ mouse_action2 resize \
+ mouse_drop_action swap
+
+echo "yabai configuration loaded.."