Updated some of the install scripts.

This commit is contained in:
2022-05-02 20:06:58 -07:00
parent 0ec4a24312
commit 881d2be983
3 changed files with 58 additions and 39 deletions

View File

@ -1,7 +1,10 @@
#!/bin/bash #!/bin/bash
# NVM # NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash if ! command -v nvm &> /dev/null
then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
fi
NVM_DIR="$HOME/.nvm" NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

View File

@ -6,34 +6,34 @@ mkdir -p ~/Applications
# Prep snap # Prep snap
#sudo ln -s /var/lib/snapd/snap /snap #sudo ln -s /var/lib/snapd/snap /snap
toInstall=( toInstall="\
firefox firefox \
gparted gparted \
solaar solaar \
qbittorrent qbittorrent \
vlc vlc \
pinta pinta \
cheese cheese \
meld meld \
filezilla filezilla \
inkscape inkscape \
gnome-chess gnome-chess \
gnome-mines gnome-mines \
gnome-sudoku gnome-sudoku \
aisleriot aisleriot \
handbrake handbrake \
audacity audacity \
blender blender \
tiled tiled \
libreoffice-fresh libreoffice-fresh \
xorg-xcursorgen xorg-xcursorgen \
plasma-wayland-session plasma-wayland-session \
zip zip
) "
# Arch Linux Setup # Arch Linux Setup
if [ -f "/etc/arch-release" ]; then if [ -f "/etc/arch-release" ]; then
sudo pacman -S -q --noconfirm $toInstall sudo pacman -S -q --noconfirm $toInstall
# VS Code (Arch) # VS Code (Arch)
git clone https://aur.archlinux.org/visual-studio-code-bin git clone https://aur.archlinux.org/visual-studio-code-bin
@ -69,29 +69,36 @@ flatpak install flathub \
--assumeyes --assumeyes
# pCloud # pCloud
wget https://p-def8.pcloud.com/cBZu1eKrMZMqwjTqZZZh9ILr7Z2ZZmNzZkZPF7pVZrHZrzZBpZpRZc5Z6pZopZ9pZApZGFZUJZkJZPpZkzZWTVkVZQDtD9nHvjKu7c1tTLeXYVj05EfNk/pcloud -O ~/Applications/pcloud if [ ! -f "~/Applications/pcloud" ]; then
chmod +x ~/Applications/pcloud wget https://p-def8.pcloud.com/cBZu1eKrMZMqwjTqZZZh9ILr7Z2ZZmNzZkZPF7pVZrHZrzZBpZpRZc5Z6pZopZ9pZApZGFZUJZkJZPpZkzZWTVkVZQDtD9nHvjKu7c1tTLeXYVj05EfNk/pcloud -O ~/Applications/pcloud
~/Applications/pcloud & chmod +x ~/Applications/pcloud
~/Applications/pcloud &
fi
# PIA # PIA
wget https://installers.privateinternetaccess.com/download/pia-linux-3.3.1-06924.run -O ~/Downloads/pia.run if ! command -v piactl &> /dev/null
chmod +x ~/Downloads/pia.run then
mkdir -p ~/.config/privateinternetaccess wget https://installers.privateinternetaccess.com/download/pia-linux-3.3.1-06924.run -O ~/Downloads/pia.run
cp ./scripts/pia-settings.json ~/.config/privateinternetaccess/clientsettings.json chmod +x ~/Downloads/pia.run
~/Downloads/pia.run mkdir -p ~/.config/privateinternetaccess
rm ~/Downloads/pia.run cp ./scripts/pia-settings.json ~/.config/privateinternetaccess/clientsettings.json
~/Downloads/pia.run
rm ~/Downloads/pia.run
fi
# Moe Theme # Moe Theme
wget https://gitlab.com/jomada/moe-theme/-/archive/master/moe-theme-master.tar.gz -O moe.tar.gz wget https://gitlab.com/jomada/moe-theme/-/archive/master/moe-theme-master.tar.gz -O moe.tar.gz
tar -xzvf ./moe.tar.gz tar -xzvf ./moe.tar.gz
# Dark # Dark
mkdir -p ~/.local/share/color-schemes/MoeDark.colors
cp -r ./moe-theme-master/MoeDark-Global/* ~/.local/share/plasma/look-and-feel/ cp -r ./moe-theme-master/MoeDark-Global/* ~/.local/share/plasma/look-and-feel/
cp -r ./moe-theme-master/MoeDark ~/.local/share/plasma/desktoptheme/MoeDark cp -r ./moe-theme-master/MoeDark ~/.local/share/plasma/desktoptheme/MoeDark
cp -r ./moe-theme-master/MoeDark-aurorae/* ~/.local/share/aurorae/themes/ cp -r ./moe-theme-master/MoeDark-aurorae/* ~/.local/share/aurorae/themes/
cp ./moe-theme-master/Moe-Dark-color-schemes/MoeDark.colors ~/.local/share/color-schemes/MoeDark.colors cp ./moe-theme-master/Moe-Dark-color-schemes/MoeDark.colors ~/.local/share/color-schemes/MoeDark.colors
# Light # Light
mkdir -p ~/.local/share/color-schemes/Moe.colors
cp -r ./moe-theme-master/Moe-Global/* ~/.local/share/plasma/look-and-feel/ cp -r ./moe-theme-master/Moe-Global/* ~/.local/share/plasma/look-and-feel/
cp -r ./moe-theme-master/Moe ~/.local/share/plasma/desktoptheme/Moe cp -r ./moe-theme-master/Moe ~/.local/share/plasma/desktoptheme/Moe
cp -r ./moe-theme-master/aurorae/* ~/.local/share/aurorae/themes/ cp -r ./moe-theme-master/aurorae/* ~/.local/share/aurorae/themes/
@ -101,17 +108,21 @@ cp ./moe-theme-master/color-schemes/Moe.colors ~/.local/share/color-schemes/Moe.
lookandfeeltool -a Moe-Dark lookandfeeltool -a Moe-Dark
# Iosevka Font # Iosevka Font
mkdir -p ~/.fonts
wget "https://objects.githubusercontent.com/github-production-release-asset-2e65be/39315600/97e975fb-b154-4b05-bd0a-3c818fdb02f9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220424T063917Z&X-Amz-Expires=300&X-Amz-Signature=4edc659fe314a1f8b8964063152d98f2ce1e1c971619d87c08996443ce65cf68&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=39315600&response-content-disposition=attachment%3B%20filename%3Dsuper-ttc-iosevka-ss09-15.2.0.zip&response-content-type=application%2Foctet-stream" -O ./iosevka-ss09.zip wget "https://objects.githubusercontent.com/github-production-release-asset-2e65be/39315600/97e975fb-b154-4b05-bd0a-3c818fdb02f9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220424T063917Z&X-Amz-Expires=300&X-Amz-Signature=4edc659fe314a1f8b8964063152d98f2ce1e1c971619d87c08996443ce65cf68&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=39315600&response-content-disposition=attachment%3B%20filename%3Dsuper-ttc-iosevka-ss09-15.2.0.zip&response-content-type=application%2Foctet-stream" -O ./iosevka-ss09.zip
bsdtar xvf ./iosevka-ss09.zip bsdtar xvf ./iosevka-ss09.zip
mkdir -p ~/.fonts mkdir -p ~/.fonts
cp -r ./*.ttc ~/.fonts/ cp -r ./*.ttc ~/.fonts/
# Papirus Icons # Papirus Icons
mkdir -p ~/.local/share/icons
wget -qO- https://git.io/papirus-icon-theme-install | DESTDIR="$HOME/.local/share/icons" sh wget -qO- https://git.io/papirus-icon-theme-install | DESTDIR="$HOME/.local/share/icons" sh
/usr/lib/plasma-changeicons Papirus-Dark /usr/lib/plasma-changeicons Papirus-Dark
# simp1e cursors # simp1e cursors
git clone --recurse-submodules https://gitlab.com/zoli111/simp1e.git if [ ! -d "simp1e" ] ; then
git clone --recurse-submodules https://gitlab.com/zoli111/simp1e.git
fi
cd simp1e cd simp1e
find . -type f -name "*.sh" -exec sed -i 's/\r//' {} \; find . -type f -name "*.sh" -exec sed -i 's/\r//' {} \;
chmod +x ./generate_svgs.sh chmod +x ./generate_svgs.sh
@ -134,7 +145,9 @@ for (i=0;i<Desktops.length;i++) {
}" }"
# Kickstart / Start Menu, installed but not configured # Kickstart / Start Menu, installed but not configured
git clone https://gitlab.com/nwwdles/plasma-kickoff-grid.git if [ ! -d "plasma-kickoff-grid" ] ; then
git clone https://gitlab.com/nwwdles/plasma-kickoff-grid.git
fi
cd plasma-kickoff-grid cd plasma-kickoff-grid
zip -r "plasma-kickoff-grid.plasmoid" package zip -r "plasma-kickoff-grid.plasmoid" package
kpackagetool5 --install "plasma-kickoff-grid.plasmoid" kpackagetool5 --install "plasma-kickoff-grid.plasmoid"

View File

@ -1,7 +1,10 @@
#!/bin/bash #!/bin/bash
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB if ! command -v rvm &> /dev/null
\curl -sSL https://get.rvm.io | bash -s stable then
source ~/.rvm/scripts/rvm gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
fi
# Install Ruby 2.7.2 # Install Ruby 2.7.2
rvm install 2.7.2 rvm install 2.7.2