Clone repo and reference local files rather than using curl to acquire files as needed

This commit is contained in:
2024-08-30 23:33:06 -04:00
parent 6a29177c26
commit 17b33e5d8a
20 changed files with 79 additions and 79 deletions
-1
View File
@@ -1 +0,0 @@
*
+6 -7
View File
@@ -2,7 +2,7 @@
With the recent release of Plasma 6, this script needs some restructuring. Do not use it until this message disappears. With the recent release of Plasma 6, this script needs some restructuring. Do not use it until this message disappears.
# Overview # Overview
An Artix Linux (OpenRC) installation script that can be used to install and configure Artix Linux (OpenRC) with my preferred setup. An Artix Linux (OpenRC) installation script that can be used to install and configure Artix Linux (OpenRC) with _**my**_ preferred setup.
Some major/noteworthy differences from common configurations: Some major/noteworthy differences from common configurations:
@@ -14,21 +14,20 @@ Some major/noteworthy differences from common configurations:
- Plasma Wayland is configured for speed and security by default (disabled Klipper, Baloo, session restore, etc.) - Plasma Wayland is configured for speed and security by default (disabled Klipper, Baloo, session restore, etc.)
# Usage # Usage
Upon loading up the official Artix OpenRC base ISO (tested on weekly base images only), logging in, connecting to the internet, and switching to the root user, run: Upon loading up the official Artix OpenRC base ISO (tested on weekly base images only), logging in as root, and connecting to the internet, run:
``` ```
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/install.sh -o install.sh pacman -Sy git
chmod +x install.sh git clone --depth 1 https://github.com/rwinkhart/artix-install-script
cd artix-install-script
./install.sh ./install.sh
``` ```
After running the script, it will ask you some questions about your desired configuration. Answer them and then the installation will complete automatically. After running the script, it will ask some questions about your desired configuration. Answer them and then the installation will complete automatically.
# Supported Devices # Supported Devices
Generic: Generic:
- Most x86_64 desktops and laptops - Most x86_64 desktops and laptops
Special: Special:
- ASUS Zephyrus G14 (2020) - ASUS Zephyrus G14 (2020)
+52 -62
View File
@@ -15,6 +15,9 @@ intel_vaapi_driver=${args[9]}
res_x=${args[10]} res_x=${args[10]}
res_y_half=${args[11]} res_y_half=${args[11]}
# cd into repo directory
cd /mnt
# configuring locale and clock Settings # configuring locale and clock Settings
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf echo 'LANG=en_US.UTF-8' > /etc/locale.conf
@@ -36,8 +39,8 @@ if [ "$boot" == 2 ]; then
echo "Exec=/bin/sh -c 'grub-install --target=i386-pc "$disk" && grub-mkconfig -o /boot/grub/grub.cfg'" >> /etc/pacman.d/hooks/grub.hook echo "Exec=/bin/sh -c 'grub-install --target=i386-pc "$disk" && grub-mkconfig -o /boot/grub/grub.cfg'" >> /etc/pacman.d/hooks/grub.hook
grub-install --target=i386-pc "$disk" grub-install --target=i386-pc "$disk"
fi fi
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo install -m 0644 /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/grub -o /etc/default/grub install -m 0644 ./config-files/grub /etc/default/grub
if [ "$gpu" == 'NVIDIA' ]; then if [ "$gpu" == 'NVIDIA' ]; then
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet sysrq_always_enabled=1 nowatchdog mem_sleep_default=deep nvidia-drm.modeset=1\"" >> /etc/default/grub echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet sysrq_always_enabled=1 nowatchdog mem_sleep_default=deep nvidia-drm.modeset=1\"" >> /etc/default/grub
elif [ "$gpu" == 'AMD' ]; then elif [ "$gpu" == 'AMD' ]; then
@@ -63,24 +66,23 @@ permit nopass :wheel as root cmd /usr/bin/reboot
ln -s /usr/bin/doas /usr/local/bin/sudo ln -s /usr/bin/doas /usr/local/bin/sudo
# pacman configuration # pacman configuration
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/pacman.conf -o /etc/pacman.conf install -m 0644 ./config-files/pacman.conf /etc/pacman.conf
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/makepkg.conf -o /etc/makepkg.conf install -m 0644 ./config-files/makepkg.conf /etc/makepkg.conf
mkdir -p /etc/pacman.d/hooks mkdir -p /etc/pacman.d/hooks
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/paccache-clean.hook -o /etc/pacman.d/hooks/paccache-clean.hook install -m 0644 ./config-files/paccache-clean.hook /etc/pacman.d/hooks/paccache-clean.hook
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/modemmanager.hook -o /etc/pacman.d/hooks/modemmanager.hook install -m 0644 ./config-files/modemmanager.hook /etc/pacman.d/hooks/modemmanager.hook
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/dash-link.hook -o /etc/pacman.d/hooks/dash-link.hook install -m 0644 ./config-files/dash-link.hook /etc/pacman.d/hooks/dash-link.hook
if [ "$gpu" == 'NVIDIA' ]; then if [ "$gpu" == 'NVIDIA' ]; then
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/nvidia.hook -o /etc/pacman.d/hooks/nvidia.hook install -m 0644 ./config-files/nvidia.hook /etc/pacman.d/hooks/nvidia.hook
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/nvidia-lts.hook -o /etc/pacman.d/hooks/nvidia-lts.hook install -m 0644 ./config-files/nvidia-lts.hook /etc/pacman.d/hooks/nvidia-lts.hook
fi fi
# shell configuration # shell configuration
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/shell-profile -o /home/"$username"/.profile pacman -Sy zsh zsh-autosuggestions zsh-syntax-highlighting --noconfirm
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/zshrc -o /home/"$username"/.zshrc install -m 0644 -o $username -g users ./config-files/shell-profile /home/"$username"/.profile
chown "$username":users /home/"$username"/{.profile,.zshrc} install -m 0644 -o $username -g users ./config-files/zshrc /home/"$username"/.zshrc
chsh -s /bin/dash "$username" chsh -s /bin/dash "$username"
ln -sfT dash /usr/bin/sh ln -sfT dash /usr/bin/sh
pacman -Sy zsh zsh-autosuggestions zsh-syntax-highlighting --noconfirm
# installing hardware-specific packages # installing hardware-specific packages
if [ "$gpu" == 'AMD' ]; then if [ "$gpu" == 'AMD' ]; then
@@ -106,8 +108,7 @@ echo 'blacklist iTCO_wdt' > /etc/modprobe.d/blacklist.conf
if [ "$formfactor" == 2 ] || [ "$formfactor" == 1 ]; then if [ "$formfactor" == 2 ] || [ "$formfactor" == 1 ]; then
pacman -S powertop --needed --noconfirm pacman -S powertop --needed --noconfirm
else else
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/ntp-rclocal/20-ntp.start -o /etc/local.d/20-ntp.start install -m 0755 ./programs/ntp-rclocal/20-ntp.start /etc/local.d/20-ntp.start
chmod 755 /etc/local.d/20-ntp.start
echo "0" > /etc/local.d/.ntpsync echo "0" > /etc/local.d/.ntpsync
fi fi
@@ -123,51 +124,43 @@ if [ "$formfactor" == 1 ] || [ "$formfactor" == 2 ] || [ "$formfactor" == 3 ]; t
pacman -S qt6-wayland plasma-desktop xdg-desktop-portal-kde kscreen spectacle gwenview ark kate dolphin konsole kwallet-pam kwalletmanager plasma-nm plasma-pa breeze-gtk kde-gtk-config bluedevil qt6-imageformats qt6-multimedia-ffmpeg pipewire pipewire-pulse pipewire-jack pipewire-alsa wireplumber wayland-protocols hunspell hunspell-en_us bluez-openrc --needed --noconfirm pacman -S qt6-wayland plasma-desktop xdg-desktop-portal-kde kscreen spectacle gwenview ark kate dolphin konsole kwallet-pam kwalletmanager plasma-nm plasma-pa breeze-gtk kde-gtk-config bluedevil qt6-imageformats qt6-multimedia-ffmpeg pipewire pipewire-pulse pipewire-jack pipewire-alsa wireplumber wayland-protocols hunspell hunspell-en_us bluez-openrc --needed --noconfirm
# misc. config # misc. config
mkdir -p /home/"$username"/.local/share/{konsole,color-schemes,dolphin/view_properties/global} install -m 0600 -o $username -g users ./config-files/plasma/kdeglobals-gruvboxDark.colors /home/"$username"/.config/kdeglobals
mkdir -p /home/"$username"/.config/KDE install -Dm 0600 -o $username -g users ./config-files/plasma/kdeglobals-gruvboxDark.colors /home/"$username"/.local/share/color-schemes/gruvboxDark.colors
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/kdeglobals-gruvboxDark.colors -o /home/"$username"/.config/kdeglobals install -Dm 0600 -o $username -g users ./config-files/plasma/konsole-profile /home/"$username"/.local/share/konsole/Custom.profile
cp /home/"$username"/.config/kdeglobals /home/"$username"/.local/share/color-schemes/gruvboxDark.colors install -m 0600 -o $username -g users ./config-files/plasma/gruvboxDarkKonsole.colorscheme /home/"$username"/.local/share/konsole/gruvboxDark.colorscheme
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/konsole-profile -o /home/"$username"/.local/share/konsole/Custom.profile install -m 0600 -o $username -g users ./config-files/plasma/konsolerc /home/"$username"/.config/konsolerc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/gruvboxDarkKonsole.colorscheme -o /home/"$username"/.local/share/konsole/gruvboxDark.colorscheme install -m 0600 -o $username -g users ./config-files/plasma/katerc /home/"$username"/.config/katerc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/konsolerc -o /home/"$username"/.config/konsolerc install -Dm 0600 -o $username -g users ./config-files/plasma/Sonnet.conf /home/"$username"/.config/KDE/Sonnet.conf
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/katerc -o /home/"$username"/.config/katerc install -m 0600 -o $username -g users ./config-files/plasma/kactivitymanagerdrc /home/"$username"/.config/kactivitymanagerdrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/Sonnet.conf -o /home/"$username"/.config/KDE/Sonnet.conf install -m 0600 -o $username -g users ./config-files/plasma/breezerc /home/"$username"/.config/breezerc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/kactivitymanagerdrc -o /home/"$username"/.config/kactivitymanagerdrc install -m 0600 -o $username -g users ./config-files/plasma/kglobalshortcutsrc /home/"$username"/.config/kglobalshortcutsrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/breezerc -o /home/"$username"/.config/breezerc install -m 0600 -o $username -g users ./config-files/plasma/powerdevilrc /home/"$username"/.config/powerdevilrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/kglobalshortcutsrc -o /home/"$username"/.config/kglobalshortcutsrc install -m 0600 -o $username -g users ./config-files/plasma/kded5rc /home/"$username"/.config/kded5rc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/powerdevilrc -o /home/"$username"/.config/powerdevilrc install -m 0600 -o $username -g users ./config-files/plasma/kwinrc /home/"$username"/.config/kwinrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/kded5rc -o /home/"$username"/.config/kded5rc install -m 0600 -o $username -g users ./config-files/plasma/plasma-org.kde.plasma.desktop-appletsrc /home/"$username"/.config/plasma-org.kde.plasma.desktop-appletsrc
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/kwinrc -o /home/"$username"/.config/kwinrc echo -e "[Dolphin]\nVersion=4\nVisibleRoles=Icons_text,Icons_size,Icons_modificationtime" | install -Dm 0600 -o $username -g users /dev/stdin /home/"$username"/.local/share/dolphin/view_properties/global/.directory
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/plasma-org.kde.plasma.desktop-appletsrc -o /home/"$username"/.config/plasma-org.kde.plasma.desktop-appletsrc echo -e "[General]\nActivateWhenTypingOnDesktop=false\nFreeFloating=true\n\n[Plugins]\nbaloosearchEnabled=false\nhelprunnerEnabled=false\nkrunner_appstreamEnabled=false\nkrunner_bookmarksrunnerEnabled=false\nkrunner_charrunnerEnabled=false\nkrunner_katesessionsEnabled=false\nkrunner_killEnabled=false\nkrunner_konsoleprofilesEnabled=false\nkrunner_kwinEnabled=false\nkrunner_placesrunnerEnabled=false\nkrunner_plasma-desktopEnabled=false\nkrunner_powerdevilEnabled=false\nkrunner_recentdocumentsEnabled=false\nkrunner_sessionsEnabled=false\nkrunner_webshortcutsEnabled=false\nlocationsEnabled=false\norg.kde.activities2Enabled=false\nwindowsEnabled=false" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/krunnerrc
echo -e "[Dolphin]\nVersion=4\nVisibleRoles=Icons_text,Icons_size,Icons_modificationtime" > /home/"$username"/.local/share/dolphin/view_properties/global/.directory echo -e "[Basic Settings]\nIndexing-Enabled=false" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/baloofilerc
echo -e "[General]\nActivateWhenTypingOnDesktop=false\nFreeFloating=true\n\n[Plugins]\nbaloosearchEnabled=false\nhelprunnerEnabled=false\nkrunner_appstreamEnabled=false\nkrunner_bookmarksrunnerEnabled=false\nkrunner_charrunnerEnabled=false\nkrunner_katesessionsEnabled=false\nkrunner_killEnabled=false\nkrunner_konsoleprofilesEnabled=false\nkrunner_kwinEnabled=false\nkrunner_placesrunnerEnabled=false\nkrunner_plasma-desktopEnabled=false\nkrunner_powerdevilEnabled=false\nkrunner_recentdocumentsEnabled=false\nkrunner_sessionsEnabled=false\nkrunner_webshortcutsEnabled=false\nlocationsEnabled=false\norg.kde.activities2Enabled=false\nwindowsEnabled=false" > /home/"$username"/.config/krunnerrc echo -e "[General]\nloginMode=emptySession" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/ksmserverrc
echo -e "[Basic Settings]\nIndexing-Enabled=false" > /home/"$username"/.config/baloofilerc
echo -e "[General]\nloginMode=emptySession" > /home/"$username"/.config/ksmserverrc
# pipewire # pipewire
mkdir /home/"$username"/.config/autostart install -m 0755 ./programs/pipewire-start/pipewire-start.sh /usr/local/bin/pipewire-start.sh
echo -e "[Desktop Entry]\nExec=/usr/local/bin/pipewire-start.sh\nIcon=\nName=pipewire-start\nPath=\nTerminal=False\nType=Application" > /home/"$username"/.config/autostart/pipewire.desktop install -Dm 0644 -o $username -g users ./programs/pipewire-start/pipewire.desktop /home/"$username"/.config/autostart/pipewire.desktop
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/pipewire-start/pipewire-start.sh -o /usr/local/bin/pipewire-start.sh
# konquake # konquake
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/konquake/konquake.sh -o /usr/local/bin/konquake install -m 0755 ./programs/konquake/konquake.sh /usr/local/bin/konquake
echo -e "[Desktop Entry]\nExec=/usr/local/bin/konquake\nName=/usr/local/bin/konquake\nNoDisplay=true\nStartupNotify=false\nType=Application\nX-KDE-GlobalAccel-CommandShortcut=true" > /home/"$username"/.local/share/applications/konquake.desktop install -Dm 0644 -o $username -g users ./programs/konquake/konquake.desktop /home/"$username"/.local/share/applications/konquake.desktop
echo -e "[1]\nDescription=konquake\nabove=true\naboverule=2\nnoborder=true\nnoborderrule=2\nplacement=6\nplacementrule=2\nsize=$res_x,$res_y_half\nsizerule=3\ntitle=konquake session\ntitlematch=2\ntypes=1\nwmclass=konsole org.kde.konsole\nwmclasscomplete=true\nwmclassmatch=1\n\n[2]\nDescription=konsole\nsize=1280,800\nsizerule=3\ntypes=1\nwmclass=konsole org.kde.konsole\nwmclasscomplete=true\nwmclassmatch=1\n\n[General]\ncount=2\nrules=1,2" > /home/"$username"/.config/kwinrulesrc echo -e "[1]\nDescription=konquake\nabove=true\naboverule=2\nnoborder=true\nnoborderrule=2\nplacement=6\nplacementrule=2\nsize=$res_x,$res_y_half\nsizerule=3\ntitle=konquake session\ntitlematch=2\ntypes=1\nwmclass=konsole org.kde.konsole\nwmclasscomplete=true\nwmclassmatch=1\n\n[2]\nDescription=konsole\nsize=1280,800\nsizerule=3\ntypes=1\nwmclass=konsole org.kde.konsole\nwmclasscomplete=true\nwmclassmatch=1\n\n[General]\ncount=2\nrules=1,2" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/kwinrulesrc
# permissions
chmod 755 /usr/local/bin/konquake /usr/local/bin/pipewire-start.sh
chown -R "$username":users /home/"$username"/.config/katerc /home/"$username"/.config/konsolerc /home/"$username"/.local/share/konsole /home/"$username"/.config/krunnerrc /home/"$username"/.config/baloofilerc /home/"$username"/.config/ksmserverrc /home/"$username"/.config/kwinrulesrc /home/"$username"/.config/kdeglobals /home/"$username"/.local/share/color-schemes/gruvboxDark.colors /home/"$username"/.local/share/konsole/Custom.profile /home/"$username"/.local/share/konsole/gruvboxDark.colorscheme /home/"$username"/.config/kglobalshortcutsrc /home/"$username"/.config/powerdevilrc /home/"$username"/.config/kwinrc /home/"$username"/.config/plasma-org.kde.plasma.desktop-appletsrc /home/"$username"/.config/kded5rc /home/"$username"/.config/breezerc /home/"$username"/.config/KDE/Sonnet.conf /home/"$username"/.config/kactivitymanagerdrc /home/"$username"/.local/share/dolphin /home/"$username"/.config/autostart /home/"$username"/.local/share/applications
fi fi
# asus g14 2020 configuration # asus g14 2020 configuration
if [ "$formfactor" == 1 ]; then if [ "$formfactor" == 1 ]; then
echo 'options snd_hda_intel power_save=1' > /etc/modprobe.d/audio_powersave.conf echo 'options snd_hda_intel power_save=1' > /etc/modprobe.d/audio_powersave.conf
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/g14-tunables/30-tunables.start -o /etc/local.d/30-tunables.start install -m 0755 ./programs/g14-tunables/30-tunables.start /etc/local.d/30-tunables.start
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/g14-bashpower/15-bashpower.start -o /etc/local.d/15-bashpower.start install -m 0755 ./programs/g14-bashpower/15-bashpower.start /etc/local.d/15-bashpower.start
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/NVIDIA-FCKR/NVIDIA-FCKR -o /usr/local/bin/NVIDIA-FCKR install -m 0755 ./programs/NVIDIA-FCKR/NVIDIA-FCKR /usr/local/bin/NVIDIA-FCKR
pacman -S mesa vulkan-icd-loader vulkan-radeon libva-mesa-driver libva-utils acpi_call iw --needed --noconfirm pacman -S mesa vulkan-icd-loader vulkan-radeon libva-mesa-driver libva-utils acpi_call iw --needed --noconfirm
chmod 755 /etc/local.d/15-bashpower.start /etc/local.d/30-tunables.start /usr/local/bin/NVIDIA-FCKR
NVIDIA-FCKR integrated NVIDIA-FCKR integrated
fi fi
@@ -181,16 +174,14 @@ chmod 600 /home/"$username"/.ssh/authorized_keys
# gpg configuration # gpg configuration
mkdir -p /home/"$username"/.gnupg mkdir -p /home/"$username"/.gnupg
echo 'pinentry-program /usr/bin/pinentry-tty' > /home/"$username"/.gnupg/gpg-agent.conf # forces gpg prompts to use terminal input
chown -R "$username":users /home/"$username"/.gnupg
chmod 700 /home/"$username"/.gnupg chmod 700 /home/"$username"/.gnupg
chmod 600 /home/"$username"/.gnupg/gpg-agent.conf chown -R "$username":users /home/"$username"/.gnupg
echo 'pinentry-program /usr/bin/pinentry-tty' | install -m 0600 /dev/stdin /home/"$username"/.gnupg/gpg-agent.conf
# misc configuration # misc configuration
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/powerset/powerset.sh -o /usr/local/bin/powerset.sh install -m 0755 ./programs/powerset/powerset.sh /usr/local/bin/powerset.sh
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/zsh-histclean/histclean -o /usr/local/bin/histclean install -m 0755 ./programs/zsh-histclean/histclean /usr/local/bin/histclean
echo -e "#!/bin/sh\nfstrim -Av &" > /etc/local.d/99-trim.start echo -e "#!/bin/sh\nfstrim -Av &" | install -m 0755 /dev/stdin /etc/local.d/99-trim.start
chmod 755 /usr/local/bin/powerset.sh /usr/local/bin/histclean /etc/local.d/99-trim.start
if [ "$swap" -gt 0 ]; then if [ "$swap" -gt 0 ]; then
echo 'vm.swappiness=10' > /etc/sysctl.d/99-swappiness.conf echo 'vm.swappiness=10' > /etc/sysctl.d/99-swappiness.conf
else else
@@ -200,15 +191,14 @@ echo -e ""$username" soft memlock 64\n"$username" hard
echo 'vm.max_map_count=2147483642' > /etc/sysctl.d/90-override.conf # increase max virtual memory maps (helps with some Wine games) echo 'vm.max_map_count=2147483642' > /etc/sysctl.d/90-override.conf # increase max virtual memory maps (helps with some Wine games)
pacman -S neofetch htop neovim --needed --noconfirm pacman -S neofetch htop neovim --needed --noconfirm
mkdir -p /etc/xdg/nvim/colors mkdir -p /etc/xdg/nvim/colors
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/sysinit.vim -o /etc/xdg/nvim/sysinit.vim install -m 0644 ./config-files/sysinit.vim /etc/xdg/nvim/sysinit.vim
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/gruvbox.vim -o /etc/xdg/nvim/colors/gruvbox.vim install -m 0644 ./config-files/gruvbox.vim /etc/xdg/nvim/colors/gruvbox.vim
rc-update add local boot rc-update add local boot
rc-update del local default rc-update del local default
# finishing up + cleaning # echo completion message
rm -rf /chrootInstall.sh /tempfiles
echo -e "\n---------------------------------------------------------" echo -e "\n---------------------------------------------------------"
echo installation completed! echo Installation completed!
echo please poweroff and remove the installation media before powering back on. echo Please poweroff and remove the installation media before powering back on.
echo -e "---------------------------------------------------------\n" echo -e "---------------------------------------------------------\n"
exit exit
+1 -2
View File
@@ -1,4 +1,3 @@
#!/bin/sh #!/bin/sh
git add -f config-files programs chrootInstall.sh install.sh LICENSE README.md commit.sh .gitignore git commit -am "$1"
git commit -m "$1"
git push git push
+4 -5
View File
@@ -3,7 +3,7 @@
loadkeys us loadkeys us
echo ---------------------------------------------------------------------------------------------- echo ----------------------------------------------------------------------------------------------
echo rwinkhart\'s Artix Install Script echo rwinkhart\'s Artix Install Script
echo last updated August 27, 2024 \(rev. A\) echo Last updated August 30, 2024 \(rev. A\)
echo ---------------------------------------------------------------------------------------------- echo ----------------------------------------------------------------------------------------------
echo You will be asked some questions before installation. echo You will be asked some questions before installation.
echo -e "----------------------------------------------------------------------------------------------\n" echo -e "----------------------------------------------------------------------------------------------\n"
@@ -232,7 +232,6 @@ done
# create array of variables to pass to part 2 # create array of variables to pass to part 2
var_export=($formfactor $threadsminusone $gpu $boot $disk0 $username $userpassword $timezone $swap $intel_vaapi_driver $res_x $res_y_half) var_export=($formfactor $threadsminusone $gpu $boot $disk0 $username $userpassword $timezone $swap $intel_vaapi_driver $res_x $res_y_half)
# download and initiate part 2 # initiate part 2
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/chrootInstall.sh -o /mnt/chrootInstall.sh mount --bind /root/artix-install-script /mnt/mnt
chmod +x /mnt/chrootInstall.sh artix-chroot /mnt /mnt/chrootInstall.sh "${var_export[@]}"
artix-chroot /mnt /chrootInstall.sh "${var_export[@]}"
+7
View File
@@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/local/bin/konquake
Name=/usr/local/bin/konquake
NoDisplay=true
StartupNotify=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
+7
View File
@@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/local/bin/pipewire-start.sh
Icon=
Name=pipewire-start
Path=
Terminal=False
Type=Application