Coder Social home page Coder Social logo

dotfiles's Introduction

dotfiles

My dotfiles use a bare repo, like https://github.com/anandpiyer/.dotfiles/blob/master/.dotfiles/README.md

  1. Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install fish and configure: i. Install with brew install fish ii. add fish to echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells

  2. Download IBM Plex Mono from https://github.com/IBM/plex and https://github.com/ryanoasis/nerd-fonts/blob/master/src/glyphs/Symbols-1000-em%20Nerd%20Font%20Complete.ttf

  3. Clone dotfiles directories:

git clone --separate-git-dir=$HOME/.dotfiles https://github.com/r-tae/dotfiles.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -r tmpdotfiles

Hammerspoon

I use hammerspoon to set up a hyperkey, which is currently only used for application- and space-switching

  1. brew install hammerspoon
  2. Rebind Capslock to F18 (hammerspoon will treat it as caps when tapped) on startup by adding the plist in this repo to launchctl:
  launchctl load ~/Library/LaunchAgents/local.KeyMapping.plist
  launchctl start local.KeyRemapping.plist
  ```
3. Change mission control keyboard shortcuts to use hyper+{hjkl} (Preferences->Keyboard->Shortcuts). MacOS won't recognise keystrokes sent by hammerspoon, so you'll have to make the bindings by holding the real shortcuts (shift+ctl+opt+cmd+{hjkl})


TODO: Add sections for:
- install & configure fish shell
- add brewfile for the basics:
- starship
- firefox
- hammerspoon(??)
- spiceify
- theming: entirely [catppuccin](https://github.com/catppuccin/catppuccin)
This includes:
  - firefox
  - alfred
  - kitty
  - discord
  - spotify
- install & configure neovim
- other: \
  exa mapped to ls (incl. `la`)

TODO: create (otherwise unused) folder for non-dotfiles related setup automation, perhaps shell scripts to download/setup the more complicated things

## Misc settings

### Use touch ID for sudo

This is easy to do, all that's required is appending the following to `/etc/pam.d/sudo`:

auth sufficient pam_tid.so


Do **not** write and quit this file without checking the effects, and leave the original contents open in a second editor with privileges to write the file out. The first time I tried this I accidently deleted the file (I'm not sure how) which left me unable to sudo. If this happens, an admin login + Finder allows you to put it back.

dotfiles's People

Contributors

r-tae avatar

Watchers

 avatar

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.