Welcome to my Arch laptop setup! Complete with install scripts!
What will you need? To run the full installation, you will need two things:
- Arch Linux (this is an Arch Linux setup), OR a 1-ounce can of Torvalds Brand Elbow Grease For Ambitious Penguins (see the "On Other Distros" section below), AND
sudopowers
The scripts in install/ are designed to both initialize new systems with my
setup, as well as modify / repair existing ones. To have everything in the
system checked over or installed, run the install/all.sh script.
The all.sh script simply executes the other install scripts in a specific
sequence. You can try running the scripts individually based on what you need,
however they do somewhat depend on each other (for example, link-dots.sh
provides .vimrc, which is required for vim.sh to work).
Running install/all.sh will do this:
- Run
system.sh, which will... - Install the
base-develpackage group - Install the necessary dependencies for
yaourt - Install
yaourt - Run
link-dots.sh, which will symlink the included dotfiles in your home directory - Run
link-scripts.sh, which will... - Symlink
/usr/local/sbinto your home directory - Symlink the included
util/scripts into that directory - Run
link-others.sh, which will... - Symlink the included
.configdirectories to~/.config - Symlink the included X11 configurations into
/etc/X11/xorg.conf.d - Anything else that I added on after I write this.
- Run
resources.sh, which will install a bunch of packages throughyaourt - Run
bar.sh, which will install my status bar from GitHub - Run
vim.sh, which will... - Install Vundle.vim from GitHub
- Install the plugins specified in
.vimrc - Link
~/.vimand~/.vimrcfor Neovim compatibility - Run
zsh.sh, which will... - Install git flow completion for zsh from GitHub
- Set your login shell to zsh
Though it's meant for Arch Linux, this setup is absolutely possible on other
Linux distributions as well! If you aren't on Arch, take a look at the list of
packages in install/resources.sh. If you track down and install the same
packages on your distribution, the rest of the installation (that is, all of
the scripts in all.sh minus system.sh and resources.sh) should work just
fine.
If your system uses a display manager, you'll need to configure it so that it
executes your ~/.xinitrc. On Arch, this is accomplished by installing the
xorg-xsession package; the method on your distro may be different.
I ended up writing a lot about this-- please see USAGE.md.