dot-files/install.sh

34 lines
651 B
Bash
Executable File

#! /usr/bin/sh
# Configuration files
stow -t ~ X
stow -t ~ bash
stow -t ~ dunst
stow -t ~ emacs
stow -t ~ git
stow -t ~ i3
stow -t ~ i3blocks
stow -t ~ ranger
stow -t ~ redshift
stow -t ~ termite
stow -t ~ tridactyl
stow -t ~ vim
stow -t ~ zsh
# Our Redshift services needs to be symlined
systemctl --user enable redshift &>/dev/null
systemctl --user enable redshift-gtk &>/dev/null
if ! [ -e ~/scripts ]; then
# Only create the symlink when the directory doesn't exist
mkdir ~/scripts
# Scripts must be in there own directory
stow -t ~/scripts scripts/
fi
# Common shell files
stow -t ~ shell/
# Wallpapers
stow -t ~ wallpapers/