Clone this repo
cd ~/code
git clone git@github.com:armno/dotfiles.gitInstall Homebrew, then install the macOS dependencies:
brew install eza zoxide coreutils git-delta bat fzf starship fnm- Download Ghostty
- Symlink Ghostty config file
mkdir -p ~/.config/ghostty
ln -s ~/code/dotfiles/.config/ghostty/config ~/.config/ghostty/configInstall the Zsh plugins with Homebrew:
brew install zsh-autosuggestions zsh-syntax-highlightingSymlink the Zsh configuration:
ln -sfn ~/code/dotfiles/.zshrc ~/.zshrcOn Omarchy/Arch, install Zsh and its plugins:
omarchy pkg add zsh zsh-autosuggestions zsh-syntax-highlighting
omarchy pkg aur add fzf-tabSymlink the Zsh configuration:
ln -sfn ~/code/dotfiles/.zshrc ~/.zshrcMake Zsh the default login shell:
chsh -s "$(command -v zsh)"ln -s ~/code/dotfiles/.aliases ~/.aliases
ln -s ~/code/dotfiles/.functions ~/.functions- Install Nerd Fonts from https://ohmyposh.dev/docs/installation/fonts
- symlink the config file
ln -s ~/code/dotfiles/.config/starship.toml ~/.config/starship.tomlInstall it here and activate the theme
base16_material-darkerMy Vim setup uses ag for searching.
Install Plug from https://github.com/junegunn/vim-plug#unix, then install plugins with
vim +PlugInstall +qalland symlink Vim's config file
ln -s ~/code/dotfiles/.vimrc ~/.vimrcSymlink tmux config file
ln -s ~/code/dotfiles/.tmux.conf ~/.tmux.confSymlink Herdr config file
mkdir -p ~/.config/herdr
ln -s ~/code/dotfiles/.config/herdr/config.toml ~/.config/herdr/config.tomlTODO: macOS 13.x doesn't need these settings anymore i think
Enable key repeats
defaults write -g ApplePressAndHoldEnabled -bool falseMake keyboard key repeats faster
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)Go to System Preferences > Keyboard. Set Key Repeat to be fastest and Delay Until Report to be shortest.
Enable key-repeat for VScode when using it with Vim extenstion. To be honest, I don't know which one works.
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
defaults delete -g ApplePressAndHoldEnabledDon't forget to add 'markdown' in the config after installed Prettier:
"prettier.disabledLanguages": [
"markdown"
]Create a local .gitconfig file that extends the one in this repo
touch ~/.gitconfigAnd put custom Git config there. For example:
[include]
path = ~/code/dotfiles/.gitconfig
[user]
name = Another Armno
email = anotheremail
TODO: This doesn't do anything i think. it just creates a symlink without actually run the commands inside.
ln -s ~/code/dotfiles/.osx ~/.osx
killall SystemUIServertouch ~/.hushloginbat another kind of cat.
mkdir -p ~/.config/bat
ln -s .config/bat/config ~/.config/bat/configThese files customize Omarchy without modifying its package-managed files in
/usr/share/omarchy/.
DOTFILES="$HOME/code/dotfiles"
mkdir -p ~/.config/hypr ~/.config/omarchy
for file in autostart.lua bindings.lua hyprland.conf hyprland.lua \
hyprsunset.conf input.lua looknfeel.lua monitors.lua xdph.conf; do
ln -sfn "$DOTFILES/.config/hypr/$file" "$HOME/.config/hypr/$file"
done
ln -sfn "$DOTFILES/.config/omarchy/shell.json" \
"$HOME/.config/omarchy/shell.json"monitors.lua contains local display scaling and may need to be adjusted on a
different machine. After changing Hyprland files, validate the configuration:
hyprctl reload
hyprctl configerrors