dotfiles/fedora-sway.sh

26 lines
1 KiB
Bash
Raw Normal View History

2023-12-06 21:46:34 -06:00
#!/usr/bin/env bash
2024-03-17 18:57:12 -05:00
# assumes a Fedora Sway base with askiiart/configs/do-everything.bash already run
# TODO: Add schildichat-desktop to askiiart.net repo, add fix-gamepad.service from askiiart/nix
2023-12-06 21:46:34 -06:00
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)
2024-03-17 18:57:12 -05:00
sudo dnf install i3status clipman swaybg swaylock slurp grim zenity wdisplays eom nemo pavucontrol brightnessctl gnome-calculator wl-clipboard gedit -y
sudo dnf remove Thunar
2023-12-06 21:46:34 -06:00
# 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
# greetd
2023-12-28 01:19:40 -06:00
#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