19 lines
517 B
Bash
Executable File
19 lines
517 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
local linux_wm_and_utils() {
|
|
# TODO: pick wm for linux; options: dwm, i3, others?
|
|
echo "linux_wm_and_utils not yet implemented"
|
|
}
|
|
|
|
local macos_wm_and_utils() {
|
|
brew install koekeishiya/formulae/yabai
|
|
brew install koekeishiya/formulae/skhd
|
|
skhd --start-service
|
|
yabai --start-service
|
|
sleep 14 # time to give permission in accessibility settings
|
|
skhd --restart-service
|
|
yabai --restart-service
|
|
}
|
|
|
|
[[ "$BOX_SETUP_OS" = "macos" ]] && macos_wm_and_utils || linux_wm_and_utils
|