Git Product home page Git Product logo

new-mac-setup's Introduction

This repo contains a shell script and resources to set up a new computer the way I like it.

I built this for personal use, and am releasing this publicly to help out anyone else who might want to draw inspiration - I assume no liability for any damage these scripts may cause to your machine!

Usage

  • Install an Xcode version at https://developer.apple.com/download/applications/
  • Launch Xcode once and follow instructions until you get to the "Welcome to Xcode" landing screen, then close Xcode.
  • Install the command line tools by running xcode-select --install in the terminal
  • Accept the command line tools EULA by running sudo xcodebuild -license in the terminal
  • Clone this repo.

There are a few scripts in here to run:

  • setup-macos.zsh: Run this first. Modifies MacOS preferences and sets up folder structure.
  • setup-terminal.zsh: Sets up the terminal just the way I like it, along with some good utility scripts for iOS development.
    • This one involves a bunch of network requests, so be careful that they're all still correct when you run this.

Also Included

Hammerspoon

I include a Hammerspoon init that contains utilities I use. Among them is system-wide push to talk, with an overlay that appears when the microphone is off.

Whitefox Layout

If you have a Vanilla Whitefox keyboard and you're using my Hammerspoon scripts, this is for you. whitefox-vanilla-macos.json is a Kiibohd layout file that makes the keyboard just the way I like it on MacOS, with some modification for quick-toggling the mute scripts introduced in my Hammerspoon scripts. This layout is based on https://github.com/boyvanamstel/Whitefox-keyboard-macOS-configuration.

alt text

New File Here

A small utility you can keep in the toolbar of your Finder windows. Creates a new file in the topmost Finder window with a blank name.

Links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.