update install script
This commit is contained in:
30
install.sh
30
install.sh
@@ -1,11 +1,10 @@
|
||||
APPS=(
|
||||
barrier
|
||||
cmake
|
||||
curl
|
||||
flatpak
|
||||
g++
|
||||
htop
|
||||
neofetch
|
||||
fastfetch
|
||||
ninja-build
|
||||
plasma-discover-backend-flatpak
|
||||
ripgrep
|
||||
@@ -20,7 +19,6 @@ APPS=(
|
||||
)
|
||||
|
||||
FLATPAK_APPS=(
|
||||
ch.protonmail.protonmail-bridge
|
||||
com.logseq.Logseq
|
||||
com.obsproject.Studio
|
||||
com.protonvpn.www
|
||||
@@ -32,14 +30,14 @@ FLATPAK_APPS=(
|
||||
org.gimp.GIMP
|
||||
org.inkscape.Inkscape
|
||||
org.libreoffice.LibreOffice
|
||||
org.mozilla.Thunderbird
|
||||
org.mozilla.firefox
|
||||
io.gitlab.librewolf-community
|
||||
)
|
||||
|
||||
DOTFILES=(
|
||||
bash
|
||||
konsole
|
||||
#menus
|
||||
menus
|
||||
nvim
|
||||
rtorrent
|
||||
tmux
|
||||
@@ -151,7 +149,6 @@ git restore .
|
||||
|
||||
# Font Install
|
||||
sudo cp ./fonts/Fira_Code_Regular_Nerd_Font_Complete.ttf /usr/local/share/fonts
|
||||
sudo cp ./fonts/FiraCodeNerdFont-Retina.ttf /usr/local/share/fonts
|
||||
|
||||
# Check if this is my profile
|
||||
while true; do
|
||||
@@ -173,24 +170,9 @@ while true; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Add touchscreen scroll support to Firefox
|
||||
while true; do
|
||||
read -p "Does this device have a touchscreen? y/N: " touchscreenChoice
|
||||
touchscreenChoice=$(echo "$touchscreenChoice" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
if [ "$touchscreenChoice" = "y" ]; then
|
||||
sudo flatpak override --env="MOZ_USE_XINPUT2=1" org.mozilla.firefox
|
||||
break
|
||||
elif [ "$touchscreenChoice" = "n" ]; then
|
||||
echo "Skipping touchscreen setup..."
|
||||
break
|
||||
else
|
||||
echo "Invalid input. Please enter y or n."
|
||||
fi
|
||||
done
|
||||
|
||||
# Add filesystem override to Firefox
|
||||
sudo flatpak override org.mozilla.firefox --filesystem=$HOME
|
||||
# Add filesystem override to Librewolf
|
||||
sudo flatpak override io.gitlab.librewolf-community --filesystem=$HOME
|
||||
sudo flatpak override io.gitlab.librewolf-community --device=all
|
||||
|
||||
# Install latest Neovim
|
||||
if ! [ -x "$(command -v nvim)" ]; then
|
||||
|
Reference in New Issue
Block a user