26 lines
913 B
Bash
26 lines
913 B
Bash
|
#!/usr/bin/env bash
|
||
|
# assumes a budgie base with askiiart/configs/do-everything.bash already run
|
||
|
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)
|
||
|
|
||
|
sudo dnf install sway i3status clipman swaybg swaylock j4-dmenu-desktop slurp grim zenity -y
|
||
|
|
||
|
# Install catppuccin grub theme
|
||
|
git clone --depth=1 https://github.com/catppuccin/grub
|
||
|
sudo mkdir /usr/share/grub/themes/
|
||
|
sudo cp -r ./grub/src/* /usr/share/grub/themes/
|
||
|
rm -rf grub/
|
||
|
echo 'GRUB_THEME=/usr/share/grub/themes/catppuccin-mocha-grub-theme/theme.txt' | sudo tee /etc/default/grub
|
||
|
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||
|
|
||
|
echo "Log out, change to sway, then log back in"
|
||
|
|
||
|
# greetd
|
||
|
sudo dnf install tuigreet -y
|
||
|
sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
|
||
|
sudo systemctl disable lightdm.service
|
||
|
sudo systemctl enable greetd.service
|