A collection of tools I use to set up my Arch-based (Manjaro) workspace for development as well as everyday use.
- Installation scripts for:
- My dotfiles
- Software
- AUR Packages
- Downloads using CURL
These scripts are written to run in bash
, and work on an Arch-based distro, though I believe they could be modified for most other *NIX platforms.
- Arch-based OS (tested on Manjaro)
- Internet connection (for software download/installation, though it is able to install dotfiles without a connection).
- Recommended
Assuming your working directory is the root of arch-setup
:
./install.sh
or
sh install.sh
or
. install.sh
These are configurable from config.sh
-
Backup Dotfile Directory
$dotBackupDir
- This is the directory that dotfiles will be copied to if the user opts to backup old files.
- Default:
dotBackupDir
=~/.old-dot-files
-
New Dotfile Directory
$dotfileDirectoryPath
- This is the directory that will be created and new dotfiles will be copied to, and later symlinked from.
- Default:
dotfileDirectoryPath
=./dotfiles
-
Dotfiles to backup/delete
$dotfile_set
- This is the set of files that may exist on the user's machine and will be backed up (if prompted) and deleted.
- Default:
dotfile_set
=( .bashrc .bash_profile .dotfiles ).dotfiles
is installed by this script, so modifying/reinstalling would be able to backup this folder.
-
Dotfiles to install and symlink
$symlink_set
- These are the dotfiles to symlink from
.dotfiles
, which will typically be installed at~
, and the files will be symlinked to~
. - Default:
symlink_set
=( .bashrc .bash_profile )
Package Lists
aur_list
=$package_dir
/aur_packages.txtcurl_list
=$package_dir
/curl_packages.txtpip_list
=$package_dir
/pip_packages.txt- Where
$package_dir
by default is ./package_lists
- Where
AUR Packages
- Add packages to be installed by adding the package name to the text file at
$aur_list
. - Remove packages to be installed by removing the package name from the text file at
$aur_list
, or place a#
in front of an entry to ignore it.
CURL Packages
- Add packages to be installed by adding the URL to the text file at
$curl_list
. - Remove packages to be installed by removing the URL from the text file at
$curl_list
, or place a#
in front of an entry to ignore it.
PIP Packages
- Add packages to be installed by adding the pip package to the text file at
$pip_list
. - Remove packages to be installed by removing the pip package from the text file at
$pip_list
, or place a#
in front of an entry to ignore it.
-
Preferred
pacman
wrapper$pacWrapper
- This is the preferred wrapper for pacman to access the AUR. If the user wanted to simply use
pacman
, setting this topacman
would likely work. - Default:
pacWrapper
=pacaur
-
Preferred color for formatting text
$blue
- This is the preferred color for formatting/coloring text in the helper function
announce
, which is located inconfig.sh
. - Default:
blue
='\033[1;34m'