Bruno BELANYI
7f6bba0e5d
I'd rather not see my script folder most of the time, so let's make it a hidden folder instead. I also link it each time with stow instead of using a conditional on the folder's existence, which is more robust when adding scripts after I already finished an install and only want to update the symlinks.
28 lines
469 B
Bash
Executable file
28 lines
469 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
|
|
|
|
# Only create the symlink when the directory doesn't exist
|
|
mkdir -p ~/.scripts
|
|
# Scripts must be in their own directory
|
|
stow -t ~/.scripts scripts/
|
|
|
|
# Common shell files
|
|
stow -t ~ shell/
|
|
|
|
# Wallpapers
|
|
stow -t ~ wallpapers/
|