Update 1update.sh
This commit is contained in:
parent
8ab8834e05
commit
1a0fef9a91
1 changed files with 30 additions and 27 deletions
49
1update.sh
49
1update.sh
|
@ -29,7 +29,7 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
# Variables - Credit Lordify
|
# Variables - Credit Lordify
|
||||||
CPU=$(lscpu | grep "AMD" -c)
|
CPU=$(lscpu | grep "AMD" -c)
|
||||||
nVidia=$(lspci -P | grep "NVIDIA" -c)
|
nVidia=$(lspci -P | grep "NVIDIA" -c)
|
||||||
Locale=$(echo $LANG)
|
Locale=$(locale | grep "hu_HU" -c)
|
||||||
|
|
||||||
## Információk a script futtatásához és a kezdő lépések
|
## Információk a script futtatásához és a kezdő lépések
|
||||||
|
|
||||||
|
@ -38,18 +38,21 @@ echo "Manjaro 24.2 MINIMAL-hoz igazított script. 2025.01"
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
|
||||||
sudo lsb_release -a
|
sudo lsb_release -a
|
||||||
tput sgr0
|
|
||||||
sleep 4
|
sleep 4
|
||||||
## rendszer frissítés és zenity ablakmegjelenítő
|
## rendszer frissítés
|
||||||
sudo pacman -Syyu --noconfirm
|
sudo pacman -Syyu --noconfirm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Arch beállítások finomítása
|
## Arch beállítások finomítása
|
||||||
tput setaf 3
|
tput setaf 3
|
||||||
echo párhuzamos letöltések
|
echo párhuzamos letöltések
|
||||||
tput sgr0
|
tput sgr0
|
||||||
sudo chown -R $USER:$USER ~
|
sudo chown -R $USER:$USER ~
|
||||||
sudo sed -i 's/MaxParallelDownloads = 4/MaxParallelDownloads = 8/' /etc/pacman.conf
|
sudo sed -i 's/MaxParallelDownloads = 4/MaxParallelDownloads = 8/' /etc/pacman.conf
|
||||||
|
sudo sed -i '38 i ILoveCandy' /etc/pacman.conf
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -95,8 +98,13 @@ tput sgr0
|
||||||
echo Alapprogramok
|
echo Alapprogramok
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
|
||||||
sudo pacman -S --noconfirm --needed eog flatpak base-devel bash-completion ffmpeg git gsfonts adobe-source-sans-fonts cantarell-fonts noto-fonts ttf-bitstream-vera ttf-dejavu ttf-droid ttf-hack ttf-inconsolata ttf-liberation ttf-roboto ttf-ubuntu-font-family unzip unace unrar zip wget glib2 glib2-devel spice-vdagent hblock nano qt6-wayland meson rsync zenity amd-ucode intel-ucode mesa-utils gvfs gvfs-smb wmctrl zsh python-setuptools sharutils uudeview arj cabextract yay clamav cronie clamtk partitionmanager
|
sudo pacman -S --noconfirm --needed sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt discover dolphin konsole fuse2 ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc ffmpeg git partitionmanager xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr gsfonts noto-fonts ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt6-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle rebuild-detector gwenview plasma-framework5 amd-ucode intel-ucode yay clamav cronie clamtk
|
||||||
|
|
||||||
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
|
hblock
|
||||||
|
|
||||||
|
yay -S otf-san-francisco --noconfirm --sudoloop --save
|
||||||
|
yay -S konsave --noconfirm --sudoloop --save
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,22 +113,10 @@ tput sgr0
|
||||||
echo cosmetics
|
echo cosmetics
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
|
||||||
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/K7znaGkC/
|
wget -O cosmetics-kde.zip https://files.rp1.hu/api/public/dl/hplmYZoB
|
||||||
unzip -n cosmetics.zip
|
unzip -n cosmetics-kde.zip
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
# Disabling Geoclue
|
|
||||||
tput setaf 3
|
|
||||||
echo Geoclue service disabling / masking
|
|
||||||
tput sgr0
|
|
||||||
|
|
||||||
#sudo systemctl disable geoclue.service
|
|
||||||
sudo systemctl mask suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
|
||||||
echo ---------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Alapprogramok beállításai
|
# Alapprogramok beállításai
|
||||||
tput setaf 3
|
tput setaf 3
|
||||||
echo Alapprogramok beállításai
|
echo Alapprogramok beállításai
|
||||||
|
@ -136,6 +132,9 @@ FirstRun=false" > /home/$USER/.config/yakuakerc
|
||||||
sudo systemctl enable --now clamav-daemon
|
sudo systemctl enable --now clamav-daemon
|
||||||
sudo systemctl enable --now clamav-freshclam
|
sudo systemctl enable --now clamav-freshclam
|
||||||
|
|
||||||
|
sudo mkdir -p /home/$USER/.config/konsave/profiles
|
||||||
|
sudo rsync -ap --info=progress2 conf.yaml /home/$USER/.config/konsave/
|
||||||
|
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -170,13 +169,17 @@ PowerButtonAction=8" > /home/$USER/.config/powerdevilrc
|
||||||
|
|
||||||
#profil kép beállítás és háttérképek beállítás
|
#profil kép beállítás és háttérképek beállítás
|
||||||
sudo cp -a rave-pp.png /usr/share/sddm/faces/
|
sudo cp -a rave-pp.png /usr/share/sddm/faces/
|
||||||
|
echo "[User]
|
||||||
|
Session=
|
||||||
|
Icon=/usr/share/pixmaps/faces/rave-pp.png
|
||||||
|
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
||||||
sudo mv /usr/share/sddm/faces/rave-pp.png /usr/share/sddm/faces/$USER.face.icon
|
sudo mv /usr/share/sddm/faces/rave-pp.png /usr/share/sddm/faces/$USER.face.icon
|
||||||
|
#sudo rsync -ap --info=progress2 archlinux-logo-text-dark.svg /usr/share/pixmaps/
|
||||||
sudo cp -a raveos-bg.png /usr/share/wallpapers/
|
#sudo mv /usr/share/pixmaps/archlinux-logo-text-dark.svg /usr/share/pixmaps/manjaro-logo-text-dark.svg
|
||||||
|
#sudo rsync -ap --info=progress2 view-app-grid-symbolic.svg /usr/share/icons/
|
||||||
|
sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/wallpapers/
|
||||||
plasma-apply-wallpaperimage /usr/share/wallpapers/raveos-bg.png
|
plasma-apply-wallpaperimage /usr/share/wallpapers/raveos-bg.png
|
||||||
kwriteconfig6 --file kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key Image "file:///usr/share/wallpapers/raveos-bg.png"
|
kwriteconfig6 --file kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key Image "file:///usr/share/wallpapers/raveos-bg.png"
|
||||||
sudo cp -a archlinux-logo-text-dark.svg /usr/share/pixmaps/
|
|
||||||
sudo mv /usr/share/pixmaps/archlinux-logo-text-dark.svg /usr/share/pixmaps/manjaro-logo-text-dark.svg
|
|
||||||
|
|
||||||
|
|
||||||
# Autostarting ProgramScript after restart
|
# Autostarting ProgramScript after restart
|
||||||
|
@ -189,7 +192,7 @@ PowerButtonAction=8" > /home/$USER/.config/powerdevilrc
|
||||||
|
|
||||||
echo Changed ownership to $USER /home/$USER/.config/autostart
|
echo Changed ownership to $USER /home/$USER/.config/autostart
|
||||||
sudo rsync -ap --info=progress2 3progs.sh.desktop /home/$USER/.config/autostart
|
sudo rsync -ap --info=progress2 3progs.sh.desktop /home/$USER/.config/autostart
|
||||||
echo Exec=/home/$USER/.progs/3progs.sh >> /home/$USER/.config/autostart/3progs.sh.desktop
|
echo Exec=konsole -e /home/$USER/.progs/3progs.sh >> /home/$USER/.config/autostart/3progs.sh.desktop
|
||||||
sudo mkdir -p /home/$USER/.progs
|
sudo mkdir -p /home/$USER/.progs
|
||||||
echo Created .progs folder
|
echo Created .progs folder
|
||||||
sudo chown -R $USER:$GROUP /home/$USER/.progs
|
sudo chown -R $USER:$GROUP /home/$USER/.progs
|
||||||
|
|
Loading…
Reference in a new issue