From 07eff75c87693e82bd43d739f14f964123dc556a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 7 Jul 2024 06:02:20 +0900 Subject: [PATCH] updated swappy since swappy is now in official repo --- install-scripts/00-hypr-pkgs.sh | 1 + install-scripts/swappy.sh | 45 --------------------------------- install.sh | 1 - 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100755 install-scripts/swappy.sh diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index 810cd93..ceb8488 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -30,6 +30,7 @@ hypr_package=( qt6ct slurp sway-notification-center + swappy waybar wget wl-clipboard diff --git a/install-scripts/swappy.sh b/install-scripts/swappy.sh deleted file mode 100755 index 3d8d3bf..0000000 --- a/install-scripts/swappy.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# 💫 https://github.com/JaKooLit 💫 # -# swappy - for screenshot) # - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_swappy2.log" -MLOG="install-$(date +%d-%H%M%S)_swappy.log" - -printf "${NOTE} Installing swappy..\n" - -# Check if swappy folder exists -if [ -d "swappy" ]; then - printf "${NOTE} swappy folder exists. Pulling latest changes...\n" - cd swappy || exit 1 - git pull origin master 2>&1 | tee -a "$MLOG" -else - printf "${NOTE} Cloning swappy repository...\n" - if git clone https://github.com/jtheoof/swappy.git; then - cd swappy || exit 1 - else - echo -e "${ERROR} Download failed for swappy" 2>&1 | tee -a "$LOG" - exit 1 - fi -fi - -# Proceed with the installation steps -meson build -ninja -C build -sudo ninja -C build install 2>&1 | tee -a "$MLOG" - -# Moving logs into main Install-Logs -mv "$MLOG" ../Install-Logs/ || true -cd - || exit 1 - -clear diff --git a/install.sh b/install.sh index 258ebb0..61b4fc0 100755 --- a/install.sh +++ b/install.sh @@ -159,7 +159,6 @@ execute_script "00-dependencies.sh" execute_script "00-hypr-pkgs.sh" execute_script "fonts.sh" execute_script "imagemagick.sh" -execute_script "swappy.sh" execute_script "swww.sh" execute_script "rofi-wayland.sh" execute_script "wallust.sh"