diff --git a/install.sh b/install.sh index c52b5ce..a5aac3e 100755 --- a/install.sh +++ b/install.sh @@ -164,10 +164,10 @@ if [ "$family" = "arch" ]; then if [[ -z "$aur_helper" ]]; then echo "Continue installing using pacman, replacing swaylock-fancy with swaylock" - sudo pacman -S --needed cava fastfetch fuzzel kitty mako niri swaylock swaync waybar wlogout wofi sddm + sudo pacman -S --needed cava fastfetch fuzzel kitty mako niri swaylock swaync waybar wlogout wofi swaybg swww sddm else echo "Installing packages..." - "$aur_helper" -S --needed cava fastfetch fuzzel kitty mako niri swaylock-fancy-git swaync waybar wlogout wofi sddm + "$aur_helper" -S --needed cava fastfetch fuzzel kitty mako niri swaylock-fancy-git swaync waybar wlogout wofi swaybg swww sddm fi echo "Setting up SDDM..." @@ -213,6 +213,6 @@ if [ "$family" = "arch" ]; then done else echo "Your Distro is not supported yet, Please install these needed packages manually:" - echo "cava fastfetch fuzzel kitty mako niri swaylock swaync waybar wlogout wofi sddm" + echo "cava fastfetch fuzzel kitty mako niri swaylock swaync swww swagbg waybar wlogout wofi sddm" echo "You can use the replace.sh to replace all the configs after install. :)" fi diff --git a/replace.sh b/replace.sh index 29c5605..97034f4 100644 --- a/replace.sh +++ b/replace.sh @@ -5,7 +5,7 @@ set -euo pipefail echo "This is a really simple script that helps you move all config files into place." echo "So you don't need to replace them one by one." echo "Make sure you have the following packages installed (if you want to use them):" -echo "cava fastfetch fuzzel kitty mako niri swaylock swaync waybar wlogout wofi sddm" +echo "cava fastfetch fuzzel kitty mako niri swaylock swaync swww swaybg waybar wlogout wofi sddm" echo "Do you wish to continue?[y/N]" @@ -75,6 +75,11 @@ for p in "$src"/*; do done shopt -u nullglob dotglob +chmod +x "$HOME/.config/niri/scripts/switch-wallpaper.sh" +if [ -x "$HOME/.config/niri/scripts/switch-wallpaper.sh" ] && [ -f "$HOME/.config/niri/wallpapers/sunset.jpg" ]; then + "$HOME/.config/niri/scripts/switch-wallpaper.sh" "$HOME/.config/niri/wallpapers/sunset.jpg" +fi + echo "Do you wish to use the grub theme from https://github.com/mateosss/matter?[Y/n]" while true; do read -r yn3 || yn3=""