Personal dotfiles for macOS and Manjaro.
These are configuration files, scripts, lists of packages that I have available for two types of systems: macOS and Manjaro.
- Window Manager: Sway (Manjaro) and Yabai (macOS)
- Terminal emulator: Alacritty
- Terminal multiplexer: tmux
- Shell: Zsh
- Editor: Neovim
- Browser: Firefox
TODO: use my domain agian for the install link.
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/knowler/dotfiles/main/.local/bin/install-dotfiles | bash
I still need to write out the instructions for this. For now, if you don't have the Nerd Font, then run apply the patch and just don't commit the change:
dots patch no-nerd-font
In order to make using and maintaining these dotfiles a breeze, I have setup a
command called dots
which both wraps Git as well as provides some helpful
custom commands. The command works from any directory. The following sections
will cover what the custom commands do. You can run dots
with -h
, --help
,
or help
to see the usage at anytime.
Optionally enter the name of the file. If specific enough, the file will just open in the editor.
dots open <file?>
To install new packages for either system run:
dots install
To upgrade all packages for either system run:
dots upgrade
To upgrade specified packages for either system run:
dots upgrade [packages]
To dump recent packages you might have installed to package list use:
dots dump
Ideally, this would be automated when installing packages and I've seen a
systemctl
hook to automate this which I will be exploring in the near future.
I guess a Git hook could work well for the installation part.
Predefined patches live in the ~/.patches
directory. You can use the
following command to open a fuzzy chooser for selecting which patches you want
to apply:
dots patch
dots web