nix-config/README.md

56 lines
1.9 KiB
Markdown
Raw Normal View History

# Dotfiles
> TODO: Screenshots
2017-10-21 11:35:09 +02:00
## Usage
2018-01-20 05:47:34 +01:00
2018-11-11 17:08:42 +01:00
If you want to mimic my entire setup, follow my [Arch Linux](/.archlinux) and [Fedora](/.fedora) guides. If you only want to try some of my dotfiles, continue reading below.
### Step 1. Clone this repository
Add `--depth 1` to only fetch the latest commit.
```sh
git clone https://github.com/GloverDonovan/dotfiles.git --depth 1
```
2018-11-11 17:08:42 +01:00
### Step 2. Install [stow][stow]
- [Arch Linux][archlinux]: `pacman -S stow`
- [Fedora][fedora]: `dnf install stow`
2018-11-11 17:08:42 +01:00
### Step 3. Install the dotfiles you want
For example, to use my vim config, run:
2018-01-01 03:55:37 +01:00
```sh
make package=vim
```
2017-12-20 23:15:24 +01:00
Since my dotfiles are managed with Stow, any of your existing dotfiles will not be overridden or changed.
## List of dotfiles
- [bspwm](/bspwm) - All the config files relating to my window manager setup.
- [code](/code) - My config for Code, a reasonable editor for non-vim users.
- [editorconfig](/editorconfig) - Spaces or tabs? Just use `.editorconfig`.
- [extras](/extras) - A collection of miscellaneous other dotfiles I use.
- [fish](/fish) - My settings for fish, the friendly interactive shell.
- [git](/git) - The standard version control tool.
- [gpg](/gpg) - My settings for GPG.
- [plasma](/plasma) - Dotfiles specific to KDE Plasma.
- [systemd](/systemd) - User services, such as ssh-agent and urxvtd.
- [tmux](/tmux) - A vim-like terminal multiplexer that gets out of your way.
- [vim](/vim) - The settings I use for vim, also known as the best editor.
- [xmodmap](/xmodmap) - Make caps lock function as ctrl and escape.
## Uninstall
2018-11-11 17:08:42 +01:00
For example, to uninstall my `.vimrc`, use `make uninstall package=vim`. Stow will only remove what it owns.
[archlinux]: https://www.archlinux.org
[fedora]: https://getfedora.org
[gnulinux]: https://www.gnu.org/gnu/linux-and-gnu.html
[freesw]: https://www.gnu.org/philosophy/free-sw.html
[stow]: https://www.gnu.org/software/stow/manual/stow.html