Update based on lessons from reinstall.
This commit is contained in:
parent
4397321c28
commit
9cef52ca3f
3 changed files with 35 additions and 34 deletions
|
|
@ -6,27 +6,16 @@ if [[ $EUID -ne 0 ]]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
|
||||
echo "Installing packages."
|
||||
# Base Packages.
|
||||
sudo pacman -S which base-devel
|
||||
# Go is a dependency of yay
|
||||
pacman -S which base-devel go
|
||||
|
||||
# Display Elements.
|
||||
sudo pacman -S plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar
|
||||
pacman -S plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar
|
||||
|
||||
# Theming.
|
||||
sudo pacman -S ttf-liberation sddm kitty zsh adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme
|
||||
|
||||
|
||||
echo "Installing yay"
|
||||
mkdir opt
|
||||
pushd opt
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
pushd yay
|
||||
makepkg -si
|
||||
popd
|
||||
popd
|
||||
|
||||
pacman -S ttf-liberation sddm kitty zsh adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme
|
||||
|
||||
echo "Installing plymouth"
|
||||
# This is likely a bit too brittle.
|
||||
|
|
@ -35,20 +24,6 @@ mkinitcpio -P
|
|||
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="/GRUB_CMDLINE_LINUX_DEFAULT="splash /' /etc/default/grub
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
echo "Installing plymouth theme"
|
||||
yay -S plymouth-theme-deus-ex-git
|
||||
plymouth-set-default-theme -R deus_ex
|
||||
|
||||
echo "Pulling home git config"
|
||||
$CONFIG='/usr/bin/git --git-dir=/home/drew/.cfg/ --work-tree=/home/drew'
|
||||
git config --global init.defaultBranch main
|
||||
mkdir ~/.cfg
|
||||
$CONFIG init
|
||||
$CONFIG remote add origin https://gitlab.com/dgalbraith33/dotfiles.git
|
||||
$CONFIG pull origin main
|
||||
$CONFIG submodule update --init
|
||||
echo "*" > ~/.gitignore
|
||||
|
||||
echo "Enabling SDDM"
|
||||
systemctl enable sddm
|
||||
yay -S sddm-sugar-dark
|
||||
|
|
@ -57,13 +32,9 @@ echo "[Theme]\nCurrent=sugar-dark" | tee /etc/sddm.conf.d/theme.conf
|
|||
echo "[General]\nDisplayServer=Wayland" | tee /etc/sddm.conf.d/theme.conf
|
||||
sed -i 's/ForceHideCompletePassword=false/ForceHideCompletePassword=true/' /usr/share/sddm/themes/sugar-dark/theme.conf
|
||||
|
||||
|
||||
|
||||
echo "Giving Sway hardware access."
|
||||
usermod -aG seat drew
|
||||
systemctl enable seatd.service
|
||||
|
||||
|
||||
pacman -S pulseaudio pavucontrol network-manager-applet
|
||||
|
||||
echo "3. Add splash to kernel parameters in /etc/default/grub and run grub-mkconfig -o /boot/grub/grub.cfg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue