Update fedora-sway.sh, fix restore.sh

This commit is contained in:
askiiart 2024-03-18 18:14:52 -05:00
parent 318ca5afdd
commit bfca32f915
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
2 changed files with 4 additions and 3 deletions

View file

@ -7,8 +7,9 @@ if [ $(whoami) == "root" ]; then
fi
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
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
sudo dnf install i3status clipman swaybg swaylock slurp grim zenity wdisplays eom nemo pavucontrol light gnome-calculator wl-clipboard gedit kanshi -y
# also has waybar, which is unused, but maybe i'll use it idk
sudo dnf remove Thunar imw unst foot mpv
# Install catppuccin grub theme
git clone --depth=1 https://github.com/catppuccin/grub

View file

@ -65,7 +65,7 @@ cp -r $GIT_DIR/rofi $HOME/.config/rofi/
# TODO: Add automatic catppuccin GTK updates - would be easy, but no version numbering once install, need to figure that out
ctp_version="v0.7.1"
variant="Catppuccin-Mocha-Standard-Mauve-Dark"
if [ ! -e ~/.themes/$variant ] && [ ! command_exists "nixos-rebuild" ]; then
if [ ! -e ~/.themes/$variant ] && ! command_exists "nixos-rebuild"; then
mkdir -p ~/.themes &&
curl -L https://github.com/catppuccin/gtk/releases/download/$ctp_version/$variant.zip -o ~/.themes/catppuccin.zip &&
unzip ~/.themes/catppuccin.zip -d ~/.themes/ &&