1
0
Fork 0
forked from RP1/RaveOS-arch
RaveOS-arch/3progs.sh

713 lines
24 KiB
Bash
Raw Normal View History

2024-12-22 19:56:36 +00:00
#!/bin/bash
# Text modifiers
bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow}
# APT/Flatpak APP TELEPITO SCRIPT
# Entering work folder
cd /home/$USER/.progs
sudo chown -R $USER:$GROUP /home/$USER/
cp -a rp-programscript.desktop /home/$USER/.local/share/applications/
echo "Exec=/home/$USER/.progs/3progs.sh" >> /home/$USER/.local/share/applications/rp-programscript.desktop
2024-12-25 18:28:02 +00:00
# Steam GPU Grep from Lordify
nVidia=$(lspci -P | grep "NVIDIA" -c)
2024-12-22 19:56:36 +00:00
# Zenity ablak megjelenítése
user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
--text="Válassz az alábbi programok közül:" \
--column="Válassz" --column="Programnév / Leírás" \
FALSE "Brave - webböngésző" \
FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \
FALSE "Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal" \
FALSE "Docker - Ha tudod mi ez akkor KELL Neked" \
FALSE "Darktable - Adobe Lightroom Linuxos megfelelője" \
FALSE "Discord - VoIP-, és csevegőalkalmazás" \
FALSE "DosBox - Régi, DOS-os játék emulátor" \
FALSE "Double Commander - Total Commander Linuxos megfelelője" \
FALSE "Easy Effects - Hangkártyát vezérlő program (Hangeffektek)" \
FALSE "Firejail - Bongeszo Zart Kontener" \
FALSE "FreeTube - Adatlopás-mentes YouTube-kliens" \
FALSE "GameMode" \
FALSE "GNOME Clocks - ébresztő, világóra, stopper, időzítő" \
FALSE "GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás" \
FALSE "GTKStressTesting - CPU Monitorozas es Stress Test Program" \
FALSE "Heroic Launcher - Epic Games Launcher Linux verziója" \
FALSE "Input-Remapper 2.0 - egér/bill. gomb konfiguráló, macro író progi" \
FALSE "Kdenlive - Linuxos videószerkesztő program" \
FALSE "KeepassXC - Jelszókezelő, az adatbázist titkosítva tárolja a PC-n" \
FALSE "KVM QEMU - virtualizáció, virtuális gépek futtatása" \
FALSE "Legutobbi Baloldali Menupont Torlese a File Kezelobol (Nautilus)" \
FALSE "Librewolf - Firefox ESR alapú webböngésző" \
FALSE "Lutris - Game launchereket, és egyéb appokat futtató környezet" \
FALSE "MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb." \
FALSE "Midnight Commander - 2 ablakos file kezelő" \
FALSE "Monophony - Youtube videokbol kiszedi a hangot. Jo cucc podcastokhoz" \
FALSE "Mumble - hang alapú csevegőalkalmazás" \
FALSE "Neofetch - terminálos rendszerinfó megjelenítő" \
FALSE "OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!" \
FALSE "OBS - Nyílt forrású felvételkészítő és streamelő program" \
FALSE "Parabolic - Videóletöltő, működik minden platformon" \
2024-12-25 21:41:02 +00:00
FALSE "P7Zip - tömörítő program" \
2024-12-22 19:56:36 +00:00
FALSE "Pavucontrol - Apponkénti hangerőszabályzás/konfigurálás" \
FALSE "PhotoGIMP - Adobe Photoshop-szerű képszerkesztő Linuxra" \
FALSE "QBittorrent - torrent kliens" \
FALSE "Signal - Titkosított üzenetküldő" \
FALSE "Spotify - Zenelejátszó Linuxra" \
FALSE "Spotube - Ingyenes Premium Spotify Zenelejátszó Linuxra" \
FALSE "Steam Launcher" \
FALSE "Telegram - Titkosított üzenetküldő" \
FALSE "Vibrant - Szín szaturáció beállító program" \
FALSE "Vivaldi - webböngésző" \
FALSE "VLC - médialejátszó" \
FALSE "Windows 11 Telepítő - Csak Profiknak!" \
FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" )
if [[ $? -eq 1 ]]; then
echo ${bold}${yellow}Cancelled by User. Exiting!${normal}
exit 1
fi
if [[ $user_choice = *"GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}GNOME Screenshot${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S gnome-screenshot --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}GNOME Screenshot ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"GNOME Clocks - ébresztő, világóra, stopper, időzítő"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}GNOME Clocks${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
sudo pacman -S itstool vala meson --user -y
2024-12-22 19:56:36 +00:00
cd gnome-clocks
meson setup ravedir
cd ravedir
sudo meson install
cd /home/$USER/.progs
echo ${bold}${yellow}GNOME Clocks with sound changes ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Steam Launcher"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Steam Launcher${normal}
2024-12-22 19:56:36 +00:00
2024-12-25 18:28:02 +00:00
if [[ $nVidia -gt 0 ]]; then
sudo pacman -S steam nvidia-utils lib32-nvidia-utils --noconfirm
else
sudo pacman -S steam amdvlk lib32-amdvlk --noconfirm
fi
2024-12-22 19:56:36 +00:00
sudo chmod +x update-proton-ge
./update-proton-ge
echo ${bold}${yellow}Steam + Latest ProtonGE ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Heroic Launcher - Epic Games Launcher Linux verziója"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Heroic Launcher with MangoHud${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S heroic-games-launcher-bin --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Heroic Launcher with MangoHud ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"GameMode"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}GameMode${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S gamemode lib32-gamemode gamescope --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}GameMode ${normal}installed.
echo ---------------------------------------------
echo
fi
2024-12-22 21:18:49 +00:00
if [[ $user_choice = *"P7Zip - tömörítő program"* ]]; then
2024-12-22 19:56:36 +00:00
echo
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}P7Zip${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S p7zip-full-bin --noconfirm
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
echo ${bold}${yellow}P7Zip ${normal}installed.
2024-12-22 19:56:36 +00:00
echo
fi
if [[ $user_choice = *"Neofetch - terminálos rendszerinfó megjelenítő"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Neofetch${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S neofetch --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Neofetch ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Input-Remapper 2.0 - egér/bill. gomb konfiguráló, macro író progi"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Input-Remapper 2.0${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S input-remapper-bin --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Input-Remapper 2.0 ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Mumble - hang alapú csevegőalkalmazás"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Mumble${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S mumble --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Mumble ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Lutris - Game launchereket, és egyéb appokat futtató környezet"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Lutris with MangoHud${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S lutris --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Lutris with MangoHud compatibility ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}KVM QEMU${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
pacman -S qemu libvirt edk2-ovmf virt-manager dnsmasq ebtables --noconfirm
2024-12-22 19:56:36 +00:00
sudo usermod -aG kvm $USER
sudo usermod -aG input $USER
sudo usermod -aG libvirt $USER
sudo sed -i '530d' /etc/libvirt/qemu.conf
sudo sed -i "530 i user = \"$USER"\" /etc/libvirt/qemu.conf
sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf
echo ${bold}${yellow}KVM QEMU ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"CoreCTRL - AMD GPU beállító alkalmazás"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}CoreCTRL and User Settings${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S corectrl --noconfirm
#systemd
2024-12-22 19:56:36 +00:00
cp /usr/share/applications/org.corectrl.CoreCtrl.desktop ~/.config/autostart/
echo "polkit.addRule(function(action, subject) {
if ((action.id == \"org.corectrl.helper.init\" ||
action.id == \"org.corectrl.helperkiller.init\") &&
subject.local == true &&
subject.active == true &&
subject.isInGroup(\"$USER\")) {
return polkit.Result.YES;
}
});" | sudo tee /etc/polkit-1/rules.d/90-corectrl.rules
sudo cp -a corectrl.ini /home/$USER/.config/
echo ${bold}${yellow}CoreCTRL and User settings ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Docker - Ha tudod mi ez akkor KELL Neked"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Docker${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
sudo apt install ca-certificates curl gnupg --user -y
2024-12-22 19:56:36 +00:00
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "jammy")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
2024-12-22 21:21:37 +00:00
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Docker ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"OBS - Nyílt forrású felvételkészítő és streamelő program"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}OBS Studio${normal}
sudo pacman -S obs-gstreamer obs-studio obs-vaapi obs-studio-browser obs-vkcapture --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}OBS Studio ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Firejail - Bongeszo Zart Kontener"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}FireJail${normal}
2024-12-22 21:18:49 +00:00
sudo pacman -S firejail --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}FireJail ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Vivaldi - webböngésző"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Vivaldi${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S vivaldi vivaldi-ffmpeg-codecs --noconfirm
cp -a vivaldi /home/$USER/.config/
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Vivaldi ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Brave - webböngésző"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Brave${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S brave-bin --noconfirm
2024-12-22 19:56:36 +00:00
sudo cp -a /home/$USER/.progs/BraveSoftware /home/$USER/.config/
echo ${bold}${yellow}Brave ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Librewolf - Firefox ESR alapú webböngésző"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Librewolf${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S librewolf-bin --noconfirm
2024-12-22 19:56:36 +00:00
sudo cp -a /home/$USER/.progs/.librewolf /home/$USER/
echo ${bold}${yellow}LibreWolf ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"FreeTube - Adatlopás-mentes YouTube-kliens"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}FreeTube${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S freetube-bin --noconfirm
2024-12-22 19:56:36 +00:00
sudo cp -a FreeTube /home/$USER/.var/app/io.freetubeapp.FreeTube/config/
echo ${bold}${yellow}FreeTube ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}OnlyOffice${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S onlyoffice-bin --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}OnlyOffice ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"DosBox - Régi, DOS-os játék emulátor"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}DosBox Staging${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S dosbox-x --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}DosBox - Staging ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Pavucontrol - Apponkénti hangerőszabályzás/konfigurálás"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Pavucontrol${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S pavucontrol --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Pavucontrol ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"KeepassXC - Jelszókezelő, az adatbázist titkosítva tárolja a PC-n"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}KeepassXC${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S keepassxc --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}KeePassXC ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Spotify - Zenelejátszó Linuxra"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Spotify${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S spotify --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Spotify ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Spotube - Ingyenes Premium Spotify Zenelejátszó Linuxra"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Spotube${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S spotube-bin --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Spotube ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Darktable - Adobe Lightroom Linuxos megfelelője"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Darktable${normal}
2024-12-22 19:56:36 +00:00
2024-12-25 22:02:09 +00:00
flatpak install flathub org.darktable.Darktable --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Darktable ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"VLC - médialejátszó"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}VLC Media Player${normal}
2024-12-22 19:56:36 +00:00
2024-12-25 21:42:52 +00:00
flatpak install org.videolan.VLC --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}VLC Media Player ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"QBittorrent - torrent kliens"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}QBittorrent${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S qbittorrent --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}QBittorrent ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Telegram - Titkosított üzenetküldő"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Telegram${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S telegram-desktop --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Telegram ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Signal - Titkosított üzenetküldő"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Signal${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S signal-desktop --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Signal ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Kdenlive - Linuxos videószerkesztő program"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Kdenlive${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S kdenlive --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Kdenlive ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"PhotoGIMP - Adobe Photoshop-szerű képszerkesztő Linuxra"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}PhotoGIMP- flatpak${normal}
2024-12-22 21:21:37 +00:00
flatpak install flathub org.gimp.GIMP --user -y
2024-12-22 19:56:36 +00:00
sudo rsync -ap --info=progress2 PhotoGIMP/. ~/
echo ${bold}${yellow}GIMP with PhotoGIMP Addon ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Discord - VoIP-, és csevegőalkalmazás"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Discord${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
flatpak install flathub com.discordapp.Discord --user -y
2024-12-22 19:56:36 +00:00
# Vencord script credit to Lordify
# Add USER repo to flathub, because Linux Mint doesn't have it
2024-12-22 21:18:49 +00:00
#flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
2024-12-22 19:56:36 +00:00
# Download the latest release of Vencord Installer from Github
wget https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli-linux
sleep 1
# Grant execution permission to vencord installer
sudo chmod +x VencordInstallerCli-linux
sleep 1
# Create Symlink of /home/$USER directory in /usr/share/Vencord, because the Kurva Vencord script doesn't handle variables like $USER
sudo ln -s ~/ /usr/share/Vencord
sleep 1
# Install vencord with openasar
./VencordInstallerCli-linux -install -location /usr/share/Vencord/.local/share/flatpak/app/com.discordapp.Discord
sleep 1
./VencordInstallerCli-linux -install-openasar -location /usr/share/Vencord/.local/share/flatpak/app/com.discordapp.Discord/
sleep 1
# Remove symlink from /usr/share/Vencord
sudo unlink /usr/share/Vencord
sleep 1
sudo mkdir -p /home/$USER/.var/app/com.discordapp.Discord/config/Vencord
sudo chown -R $USER:$GROUP /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/
2024-12-22 21:18:49 +00:00
cp -a /home/$USER/.progs/themes/ /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/themes
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Discord / Vencord ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Easy Effects - Hangkártyát vezérlő program (Hangeffektek)"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Easy Effects${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S easyeffects --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Easy Effects ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Parabolic - Videóletöltő, működik minden platformon"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Parabolic${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
flatpak install flathub org.nickvision.tubeconverter --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Parabolic ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Vibrant - Szín szaturáció beállító program"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Vibrant${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
flatpak install flathub io.github.libvibrant.vibrantLinux --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Vibrant ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Legutobbi Baloldali Menupont Torlese a File Kezelobol (Nautilus)"* ]]; then
echo
echo ---------------------------------------------
echo Removing ${bold}${yellow}Nautilus Recent Menu ${normal}
gsettings set org.gnome.desktop.privacy remember-recent-files false
echo ${bold}${yellow}Nautilus Recent Menu ${normal}removed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Only main monitor on login${normal}
zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100'
sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/monitors.xml
sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml
echo ${bold}${yellow}Only main monitor on login ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb."* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}MangoHud/Goverlay - built from source${normal}
2024-12-22 21:18:49 +00:00
sudo pacman -S mangohud lib32-mangohud goverlay --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}MangoHud/Goverlay - built from source ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Zenpower3 - built from source${normal}
2024-12-22 21:18:49 +00:00
yay -S zenpower3-dkms --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Zenpower3 ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"GTKStressTesting - CPU Monitorozas es Stress Test Program"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}GTKStressTesting${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:21:37 +00:00
flatpak install flathub com.leinardi.gst --user -y
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}GTKStressTesting ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Double Commander - Total Commander Linuxos megfelelője"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Double Commander${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S doublecmd-gtk2 --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Double Commander ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Midnight Commander - 2 ablakos file kezelő"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Midnight Commander${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
sudo pacman -S mc --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Midnight Commander ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Monophony - Youtube videokbol kiszedi a hangot. Jo cucc podcastokhoz"* ]]; then
echo
echo ---------------------------------------------
2024-12-22 21:18:49 +00:00
echo Installing ${bold}${yellow}Monophony${normal}
2024-12-22 19:56:36 +00:00
2024-12-22 21:18:49 +00:00
yay -S monophony --noconfirm
2024-12-22 19:56:36 +00:00
echo ${bold}${yellow}Monophony ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then
zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100'
2024-12-23 17:42:51 +00:00
fi
2024-12-25 22:04:20 +00:00
# Cleanup
sudo rm /home/$USER/.config/autostart/3progs.sh.desktop
sudo chown -R $USER:$GROUP /home/$USER/
2024-12-22 19:56:36 +00:00
zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100'
if [ $? = 0 ]; then
(
echo "0" ;
echo "# Restart in 5s" ; sleep 1
echo "20" ;
echo "# Restart in 4s" ; sleep 1
echo "40" ;
echo "# Restart in 3s" ; sleep 1
echo "60" ;
echo "# Restart in 2s" ; sleep 1
echo "80" ;
echo "# Restart in 1s" ; sleep 1
) |
zenity --progress \
--title="All updates are Installed!" --width='300' \
--text="Restart" \
--auto-close \
--no-cancel
sudo rm -rf /usr/share/raveprogs
sudo rm /home/$USER/.config/autostart/raveprogs.desktop
sudo reboot;
else
echo ${bold}${yellow}User exited the script. Ending!${normal}
exit 0;
fi