dotfiles/executable_dot_yabairc
Felix Delattre 2359ed01a8 Update .chezmoiignore
Update .config/helix/config.toml
Update .config/helix/languages.toml
Update .config/i3/bin/brightness.sh
Update .config/i3/bin/exit.sh
Update .config/i3/bin/i3.config.keycodes
Update .config/i3/bin/i3blocks-battery
Update .config/i3/bin/lock.sh
Update .config/i3/bin/monitor.sh
Update .config/i3/bin/toggletouchpad.sh
Update .config/i3/config
Update .config/i3/i3blocks.conf
Update .config/i3/i3status.conf
Update .config/lvim/config.lua
Update .config/spacebar/spacebarrc
Update .config/sway/bin/brightness.sh
Update .config/sway/bin/i3blocks-battery
Update .config/sway/bin/toggletouchpad.sh
Update .config/sway/blocks.conf
Update .config/sway/config
Update .config/sway/wallpaper.jpg
Update .gitconfig
Update .oh-my-zsh/custom/aliases.zsh
Update .oh-my-zsh/custom/linux.zsh
Update .oh-my-zsh/custom/mac.zsh
Update .oh-my-zsh/custom/prompt.zsh
Update .skhdrc
Update .tmux.conf
Update .vimrc
Update .zshrc
Update backup.sh
Update .yabairc
2023-11-07 23:08:21 +00:00

74 lines
2.6 KiB
Bash
Executable file

#!/usr/bin/env sh
# the scripting-addition must be loaded manually if
# you are running yabai on macOS Big Sur. Uncomment
# the following line to have the injection performed
# when the config is executed during startup.
#
# 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)
#
# sudo yabai --load-sa
# yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
#!/usr/bin/env sh
# global settings
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse autofocus
yabai -m config window_placement second_child
yabai -m config window_topmost off
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.0
yabai -m config window_shadow on
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.90
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff555555
# Mouse support
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
# general space settings
yabai -m config layout bsp
yabai -m config bottom_padding 0
yabai -m config left_padding 0
yabai -m config right_padding 0
yabai -m config window_gap 0
# float system preferences
yabai -m rule --add app='^System Information$' manage=off
yabai -m rule --add app='^System Preferences$' manage=off
yabai -m rule --add title='Preferences$' manage=off
# float Better Touch Tool Preference window
# yabai -m rule --add title='^BetterTouchTool' manage=off
# float settings windows
yabai -m rule --add title='Settings$' manage=off
# float Cisco AnyConnect
yabai -m rule --add app='^Cisco AnyConnect Secure Mobility Client$' manage=off
# float IntelliJ Preference panes
yabai -m rule --add app='IntelliJ IDEA' title='^$' manage=off
yabai -m rule --add app='IntelliJ IDEA' title='Project Structure' manage=off
yabai -m rule --add app='IntelliJ IDEA' title='Preferences' manage=off
yabai -m rule --add app='IntelliJ IDEA' title='Edit configuration' manage=off
# spacebar padding on top screen
SPACEBAR_HEIGHT=$(spacebar -m config height)
yabai -m config external_bar all:$SPACEBAR_HEIGHT:0
echo "yabai configuration loaded.."