diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-05-19 23:19:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:19:57 -0400 |
| commit | ba748d28200a73381634be3d50bf8228f57d8204 (patch) | |
| tree | f3fdce626ad5ed2e182c95d9e47e0384aee148dd /copy.sh | |
| parent | 0f784309527acc4a22c81eb2d44d4d16f3676c39 (diff) | |
| parent | 12133a71c6689be3a02ff6a58599917d98051a7f (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 |
