Skip to content

Commit

Permalink
add usage
Browse files Browse the repository at this point in the history
  • Loading branch information
samialdury committed Oct 8, 2024
1 parent ca7303c commit d4d5c2d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ backup: ## Back up Brewfile

##@ Settings

.PHONY: setdefaults
setdefaults: ## Set up system settings
.PHONY: defaults
defaults: ## Set up system settings
# https://macos-defaults.com

# Disable font smoothing
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# dotfiles

This repository contains my dotfiles. I use [GNU Stow](https://www.gnu.org/software/stow/) to manage them.
This repository contains my dotfiles.

## Usage
## Installation

```sh
brew install stow
git clone https://github.com/samialdury/dotfiles.git ~/dotfiles
cd ~/dotfiles
make stow
```

## Usage

[USAGE.md](USAGE.md)

## License

[MIT](LICENSE)
41 changes: 41 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Usage

```sh
# Install xcode command line tools
xcode-select --install

# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install fish shell
/opt/homebrew/bin/brew install fish

# Set fish as default shell
echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/fish

# Open a new terminal window

# Install brew packages
brew bundle install --file=~/dotfiles/Brewfile

# Install alacritty theme
mkdir -p ~/.config/alacritty/themes
curl -LO --output-dir ~/.config/alacritty/themes https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml

# Install bat theme
mkdir -p ~/.config/bat/themes
curl -LO --output-dir ~/.config/bat/themes https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme
bat cache --build

# Install delta theme
mkdir -p ~/.config/delta/themes
curl -LO --output-dir ~/.config/delta/themes https://raw.githubusercontent.com/catppuccin/delta/main/catppuccin.gitconfig

# Symlink config files
cd ~/dotfiles
make stow

# Set system defaults
make defaults
```

0 comments on commit d4d5c2d

Please sign in to comment.