]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Add yabai confi
authorRuben Beltran del Rio <redacted>
Sun, 19 Mar 2023 13:10:56 +0000 (14:10 +0100)
committerRuben Beltran del Rio <redacted>
Sun, 19 Mar 2023 13:10:56 +0000 (14:10 +0100)
install
yabairc [new file with mode: 0755]

diff --git a/install b/install
index a7f07b6ebae7ce7879b87f3fc50ac25af78144c6..3bd454eec6b89e82c51d304f10f8a790ad1f83dc 100755 (executable)
--- a/install
+++ b/install
@@ -45,6 +45,9 @@ ln -fns .dotfiles/Xdefaults ~/.Xdefaults
 # ripgrep
 ln -fns .dotfiles/rgignore ~/.rgignore
 
+# yabai
+ln -fns .dotfiles/yabairc ~/.yabairc
+
 # skhdc
 ln -fns .dotfiles/skhdrc ~/.skhdrc
 
diff --git a/yabairc b/yabairc
new file mode 100755 (executable)
index 0000000..8afb476
--- /dev/null
+++ b/yabairc
@@ -0,0 +1,12 @@
+# for this to work you must configure sudo such that
+# it will be able to run the command without password
+
+yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
+sudo yabai --load-sa
+
+yabai -m config layout bsp
+yabai -m config window_shadow float
+yabai -m config window_border on
+yabai -m config window_border_width 2
+yabai -m config window_border_radius 0
+yabai -m config active_window_border_color 0xFF55FF55