2023-11-20 00:48:36 -06:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
if [ $(whoami) == "root" ]; then
|
|
|
|
echo "Run as a normal user, not root"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
|
|
|
|
|
|
|
# gnome-keyring is for VS Code
|
2024-01-29 15:04:38 -06:00
|
|
|
yay -S gnome-keyring lxqt-policykit --noconfirm --needed
|
2024-01-10 23:19:19 -06:00
|
|
|
yay -S i3status j4-dmenu-desktop swaylock swaybg swaync clipman --noconfirm --needed
|
2023-11-20 12:09:00 -06:00
|
|
|
yay -S pipewire-pulse pavucontrol blueman bluetooth-support qpwgraph --noconfirm --needed
|
2023-11-20 00:48:36 -06:00
|
|
|
yay -S brightnessctl --noconfirm --needed
|
2023-11-20 12:28:16 -06:00
|
|
|
yay -S nemo gnome-calculator --noconfirm --needed
|
2023-11-30 18:19:56 -06:00
|
|
|
# for screenshots and color picker
|
|
|
|
yay -S slurp grim zenity imagemagick --noconfirm --needed
|
2023-11-20 00:48:36 -06:00
|
|
|
|
2024-01-15 20:38:09 -06:00
|
|
|
sudo systemctl enable --now NetworkManager
|
|
|
|
|
2023-11-20 00:48:36 -06:00
|
|
|
# Install catppuccin grub theme
|
|
|
|
git clone --depth=1 https://github.com/catppuccin/grub
|
|
|
|
sudo cp -r ./grub/src/* /usr/share/grub/themes/
|
|
|
|
rm -rf grub/
|
|
|
|
sudo sed -i 's/#GRUB_THEME="\/path\/to\/gfxtheme"/GRUB_THEME=\/usr\/share\/grub\/themes\/catppuccin-mocha-grub-theme\/theme.txt/g' /etc/default/grub
|
2024-01-29 15:04:38 -06:00
|
|
|
sudo sed -i 's/#GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/g' /etc/default/grub
|
2023-11-20 00:48:36 -06:00
|
|
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
2023-11-20 12:09:00 -06:00
|
|
|
|
2023-11-22 22:02:37 -06:00
|
|
|
# greetd, replaced by ly which should be preinstalled
|
|
|
|
#yay -S greetd --noconfirm --needed
|
|
|
|
#sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
|
|
|
|
#sudo systemctl enable greetd.service
|
2024-02-16 12:43:18 -06:00
|
|
|
|
|
|
|
# make GUI stuff work when running as root (e.g. gparted)
|
|
|
|
yay -S xorg-xhost --noconfirm --needed
|
|
|
|
xhost +SI:localuser:root
|
2024-02-21 09:26:25 -06:00
|
|
|
|
|
|
|
# Enable MultiProfile for bluetooth (enables more than just headset-quality support on thing that support many audio profiles)
|
|
|
|
sudo sed -i 's/#MultiProfile = off/MultiProfile = multiple/g' /etc/bluetooth/main.conf
|
|
|
|
sudo systemctl restart bluetooth.service
|