From b9cf37f351563cab6730a6869384e295c6fa46ad Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 17 May 2025 18:56:44 +0900 Subject: Updated copy.sh for copying window rules. Renamed WindowRules.conf to old. --- copy.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'copy.sh') diff --git a/copy.sh b/copy.sh index 06bd29ae..0c556ddd 100755 --- a/copy.sh +++ b/copy.sh @@ -124,20 +124,6 @@ fi printf "\n%.0s" {1..1} -# Extract Hyprland version (first occurrence of x.y.z after "Hyprland") -version_output=$(hyprctl version | awk '/^Hyprland/ {print $2}') - -# Check if version is 0.48.0 or higher -if [[ "$(printf '%s\n' "0.48.0" "$version_output" | sort -V | head -n1)" == "0.48.0" ]]; then - - mv config/hypr/UserConfigs/WindowRules.conf config/hypr/UserConfigs/WindowRules-old.conf - mv config/hypr/UserConfigs/WindowRules-new.conf config/hypr/UserConfigs/WindowRules.conf - - echo "$NOTE - Window Rule set up for Hyprland $version_output" -fi - -printf "\n%.0s" {1..1} - # Function to detect keyboard layout using localectl or setxkbmap detect_layout() { if command -v localectl >/dev/null 2>&1; then -- cgit v1.2.3