Update fedora-sway, fix minor issues

This commit is contained in:
askiiart 2024-03-17 18:57:12 -05:00
parent 60b97bc4b1
commit 8e8da7f7c6
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
3 changed files with 4 additions and 6 deletions

View file

@ -1,12 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# assumes a budgie base with askiiart/configs/do-everything.bash already run # assumes a Fedora Sway base with askiiart/configs/do-everything.bash already run
# TODO: Add schildichat-desktop to askiiart.net repo, add GTK themes and fix-gamepad.service from askiiart/nix
if [ $(whoami) == "root" ]; then if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root" echo "Run as a normal user, not root"
exit 1 exit 1
fi fi
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) 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 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
# Install catppuccin grub theme # Install catppuccin grub theme
git clone --depth=1 https://github.com/catppuccin/grub git clone --depth=1 https://github.com/catppuccin/grub
@ -16,8 +18,6 @@ rm -rf grub/
echo 'GRUB_THEME=/usr/share/grub/themes/catppuccin-mocha-grub-theme/theme.txt' | sudo tee /etc/default/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 sudo grub2-mkconfig -o /boot/grub2/grub.cfg
echo "Log out, change to sway, then log back in"
# greetd # greetd
#sudo dnf install tuigreet -y #sudo dnf install tuigreet -y
#sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml #sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml

View file

@ -1 +0,0 @@
/nix/store/gbyb346pv88ah3nwgrswgimx1xcvp9h5-home-manager-files/.config/fish/config.fish

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
# fish # fish