mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 21:19:51 -05:00
Update script to use new config files
This commit is contained in:
parent
211e5e9e23
commit
97a088ccb8
54
configure.sh
54
configure.sh
@ -25,6 +25,7 @@ ln() {
|
||||
}
|
||||
|
||||
install_i3() {
|
||||
# Install Packages
|
||||
if ! (pacman -Q i3-gaps >/dev/null 2>&1);
|
||||
then
|
||||
lnh "Installing i3-gaps from AUR..."
|
||||
@ -56,25 +57,6 @@ install_i3() {
|
||||
pacman -S compton --noconfirm
|
||||
fi;
|
||||
|
||||
### Configuration Files
|
||||
lnh "Installing General Configuration Files"
|
||||
# Compton
|
||||
lnf
|
||||
cp -v cfg/compton/config ~/.config/compton/config
|
||||
# NCMPCPP config
|
||||
lnf
|
||||
cp -v cfg/termite/ncmpcpp_config ~/.config/termite/ncmpcpp_config
|
||||
|
||||
### Install Tools
|
||||
lnh "Installing General Tools"
|
||||
mkdir -p ~/Documents/tools
|
||||
# Wallpaper Tool
|
||||
lnf
|
||||
cp -v cfg/i3/tools/wallpaper.sh ~/Documents/tools/
|
||||
lnfb
|
||||
cp -v cfg/wallpapers/wallpaper* ~/Pictures/
|
||||
lnfbe
|
||||
|
||||
### Install Service Files
|
||||
lnh "Installing Services"
|
||||
# Suspend locker
|
||||
@ -90,6 +72,26 @@ install_i3() {
|
||||
lnf
|
||||
systemctl --user enable locker.service
|
||||
|
||||
|
||||
### Install Configuration Files
|
||||
lnh "Installing General Configuration Files"
|
||||
# Compton
|
||||
lnf
|
||||
cp -v cfg/compton/config ~/.config/compton/config
|
||||
# NCMPCPP ws10 config
|
||||
lnf
|
||||
cp -v cfg/termite/ncmpcpp_config ~/.config/termite/ncmpcpp_config
|
||||
|
||||
### Install Tools
|
||||
lnh "Installing General Tools"
|
||||
mkdir -p ~/Documents/tools
|
||||
# Wallpaper Tool
|
||||
lnf
|
||||
cp -v cfg/i3/tools/wallpaper.sh ~/Documents/tools/
|
||||
lnfb
|
||||
cp -v cfg/wallpapers/wallpaper* ~/Pictures/
|
||||
lnfbe
|
||||
|
||||
lnh "Select a Platform"
|
||||
platform_opt=("Desktop" "Laptop")
|
||||
select opt in "${platform_opt[@]}"
|
||||
@ -118,7 +120,21 @@ install_i3_laptop() {
|
||||
lnfb
|
||||
cp -v cfg/i3blocks/laptop/blocks/* ~/.config/i3blocks/blocks/
|
||||
lnfbe
|
||||
}
|
||||
|
||||
configure_common() {
|
||||
lnh "Installing Common Configuration Files"
|
||||
# ZSH
|
||||
lnf
|
||||
cp -v cfg/zshrc ~/.zshrc
|
||||
|
||||
# VIM
|
||||
lnf
|
||||
cp -v cfg/vimrc ~/.vimrc
|
||||
# Install Vim Plugins
|
||||
vim +PlugInstall +qall
|
||||
|
||||
# MPD + NCMPCPP
|
||||
}
|
||||
|
||||
echo "Select a Window Manager"
|
||||
|
Loading…
Reference in New Issue
Block a user