1
0

Generic update.

This commit is contained in:
cronyakatsuki 2022-11-06 14:25:55 +01:00
parent 0e0d602aeb
commit 2db130b6ac

View File

@ -293,6 +293,7 @@ if [[ $oldroot_fix = "y" ]]; then
fi fi
printf '%s\n' "Setting better journald sizes" printf '%s\n' "Setting better journald sizes"
mkdir -p /etc/systemd/journald.conf.d/
printf '%s\n' "[Journal] printf '%s\n' "[Journal]
SystemMaxUse=250M SystemMaxUse=250M
SystemMaxFileSize=50M" > /etc/systemd/journald.conf.d/size.conf SystemMaxFileSize=50M" > /etc/systemd/journald.conf.d/size.conf
@ -363,9 +364,6 @@ read -n 1 -s -p "To continue press any key"
cd ~ cd ~
rm -rf ~/paru rm -rf ~/paru
printf '%s\n' "Reloading systemd-resolved"
sudo systemctl restart systemd-resolved
printf '%s\n' "Setting up additional must have aur packages" printf '%s\n' "Setting up additional must have aur packages"
paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh paru -S --needed --noconfirm brillo dmenu-bluetooth clipmenu-git xdg-ninja-git tutanota-desktop-bin ferdium-bin colorpicker yt-dlp downgrade dashbinsh
@ -445,9 +443,6 @@ if [[ $gaming = "y" ]]; then
lutris python-magic winetricks protontricks proton-ge-custom-bin \ lutris python-magic winetricks protontricks proton-ge-custom-bin \
heroic-games-launcher-bin libstrangle-git --needed --noconfirm heroic-games-launcher-bin libstrangle-git --needed --noconfirm
ln -s $HOME/repos/dots/.config/gamemode.ini $HOME/.config/gamemode.init
ln -s $HOME/repos/dots/.config/Mangohud $HOME/.config/Mangohud
printf '%s\n' "Setting up gamemode" printf '%s\n' "Setting up gamemode"
sudo usermod -a `whoami` -G gamemode sudo usermod -a `whoami` -G gamemode
printf '%s\n' "@gamemode - nice 10" | sudo tee -a /etc/security/limits.conf printf '%s\n' "@gamemode - nice 10" | sudo tee -a /etc/security/limits.conf