Skip to content

Commit

Permalink
add yabairc and .skhdrc
Browse files Browse the repository at this point in the history
  • Loading branch information
z2oh committed Aug 18, 2020
1 parent d38058d commit 8692799
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
31 changes: 31 additions & 0 deletions skhd/.skhdrc
@@ -0,0 +1,31 @@
alt - space : yabai -m display --layout float
cmd + alt - space : yabai -m display --layout bsp

alt - l : yabai -m window --toggle float

alt - t : yabai -m window --focus east
alt - r : yabai -m window --focus west
alt - f : yabai -m window --focus north
alt - s : yabai -m window --focus south

alt - x : yabai -m window --close

shift + alt - 1 : yabai -m window --space 1
shift + alt - 2 : yabai -m window --space 2
shift + alt - 3 : yabai -m window --space 3
shift + alt - 4 : yabai -m window --space 4
shift + alt - 5 : yabai -m window --space 5
shift + alt - 6 : yabai -m window --space 6
shift + alt - 7 : yabai -m window --space 7
shift + alt - 8 : yabai -m window --space 8
shift + alt - 9 : yabai -m window --space 9

alt - 1 : yabai -m space --focus 1
alt - 2 : yabai -m space --focus 2
alt - 3 : yabai -m space --focus 3
alt - 4 : yabai -m space --focus 4
alt - 5 : yabai -m space --focus 5
alt - 6 : yabai -m space --focus 6
alt - 7 : yabai -m space --focus 7
alt - 8 : yabai -m space --focus 8
alt - 9 : yabai -m space --focus 9
34 changes: 34 additions & 0 deletions yabai/yabairc
@@ -0,0 +1,34 @@
#!/usr/bin/env sh

# global settings
yabai -m config window_placement second_child
yabai -m config window_topmost off
yabai -m config window_opacity on
yabai -m config window_opacity_duration 0.0
yabai -m config window_shadow on
yabai -m config window_border off
yabai -m config window_border_placement inset
yabai -m config window_border_width 4
yabai -m config window_border_radius -1.0
yabai -m config active_window_border_topmost off
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff505050
yabai -m config insert_window_border_color 0xffd75f5f
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.96
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
yabai -m config focus_follows_mouse autoraise
yabai -m config mouse_modifier fn
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize

# general space settings
yabai -m config layout bsp
yabai -m config top_padding 0
yabai -m config bottom_padding 0
yabai -m config left_padding 0
yabai -m config right_padding 0
yabai -m config window_gap 0

echo "yabai configuration loaded.."

0 comments on commit 8692799

Please sign in to comment.