Grouping stuff

This commit is contained in:
2017-10-15 20:50:00 +02:00
parent b90cf92fb5
commit 832fa5ee30
30 changed files with 120 additions and 37 deletions

View File

@@ -4,22 +4,27 @@ source ${DOTFILES}/helpers.sh
function main()
{
local scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
print_info "Installing window manager"
# Install chunkwm and khd
brewget crisidev/homebrew-chunkwm/chunkwm
brewget keokeishiya/formulae/khd
# Link configuration files
linkfile ${DOTFILES}/wm/khdrc ${HOME}/.khdrc
linkfile ${DOTFILES}/wm/chunkwmrc ${HOME}/.chunkwmrc
linkfile ${scriptdir}/khdrc ${HOME}/.khdrc
linkfile ${scriptdir}/chunkwmrc ${HOME}/.chunkwmrc
# Start services
if ! brew services list | grep chunkwm >/dev/null; then
brew services start khd
brew services start chunkwm
fi
print_ok "Window manager installed and activated"
print_info "Installing logitech drivers"
caskget caskroom/drivers/logitech-options
print_ok "Logitech drivers installed"
}
main "$@"