From 6ea49045378abe4cdde8c182d0cb1376ebc8a882 Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Tue, 19 Nov 2024 22:51:12 +0100 Subject: [PATCH] Update Hyprland to v0.45.0 --- roles/desktop-environment/tasks/hyprland.yml | 27 ++++++++++--------- .../templates/.config/hypr/hyprland.conf.j2 | 10 ++++--- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/roles/desktop-environment/tasks/hyprland.yml b/roles/desktop-environment/tasks/hyprland.yml index e7be168..0e858e5 100644 --- a/roles/desktop-environment/tasks/hyprland.yml +++ b/roles/desktop-environment/tasks/hyprland.yml @@ -51,6 +51,7 @@ - libxcb-composite0-dev - libxcb-res0-dev - xwayland + - libzip4t64 # xdg-desktop-portal-hyprland - qt6-base-dev - libspa-0.2-dev @@ -77,7 +78,7 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/hyprutils.git' dest: /usr/local/src/hyprutils - version: v0.2.3 + version: v0.2.6 force: true recursive: true @@ -93,7 +94,7 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/hyprlang.git' dest: /usr/local/src/hyprlang - version: v0.5.2 + version: v0.5.3 force: true recursive: true @@ -101,7 +102,7 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/hyprcursor.git' dest: /usr/local/src/hyprcursor - version: v0.1.9 + version: v0.1.10 force: true recursive: true @@ -109,15 +110,14 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/xdg-desktop-portal-hyprland.git' dest: /usr/local/src/xdg-desktop-portal-hyprland - version: v1.3.6 + version: v1.3.8 force: true - recursive: true - name: Checkout Aquamarine repo ansible.builtin.git: repo: 'https://github.com/hyprwm/aquamarine.git' dest: /usr/local/src/Aquamarine - version: v0.3.1 + version: v0.5.0 force: true recursive: true @@ -125,7 +125,7 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/Hyprland.git' dest: /usr/local/src/Hyprland - version: v0.44.1 + version: v0.45.0 force: true recursive: true @@ -135,7 +135,7 @@ chdir: /usr/local/src/hyprutils loop: - "cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build" - - "cmake --build ./build --config Release --target all" + - "cmake --build ./build --config Release --target all --parallel 4" - name: Install hyprutils become: yes @@ -149,7 +149,7 @@ chdir: /usr/local/src/hyprwayland-scanner loop: - "cmake -DCMAKE_INSTALL_PREFIX=/usr -B build" - - "cmake --build build" + - "cmake --build build --parallel 4" - name: Install hyprwayland-scanner become: yes @@ -163,7 +163,7 @@ chdir: /usr/local/src/hyprlang loop: - "cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B build" - - "cmake --build build --config Release --target hyprlang" + - "cmake --build build --config Release --target hyprlang --parallel 4" - name: Install hyprlang become: yes @@ -177,7 +177,7 @@ chdir: /usr/local/src/hyprcursor loop: - "cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build" - - "cmake --build build --config Release --target all" + - "cmake --build build --config Release --target all --parallel 4" - name: Install hyprcursor become: yes @@ -191,7 +191,7 @@ chdir: /usr/local/src/Aquamarine loop: - "cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build" - - "cmake --build ./build --config Release --target all" + - "cmake --build ./build --config Release --target all --parallel 4" - name: Install Aquamarine become: yes @@ -203,6 +203,7 @@ community.general.make: chdir: /usr/local/src/Hyprland target: all + jobs: 4 - name: Install Hyprland become: true @@ -216,7 +217,7 @@ chdir: /usr/local/src/xdg-desktop-portal-hyprland loop: - "cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build" - - "cmake --build build" + - "cmake --build build --parallel 4" - name: Install xdg-desktop-portal-hyprland become: yes diff --git a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 index 60bf495..610859d 100644 --- a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 +++ b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 @@ -55,10 +55,12 @@ decoration { vibrancy = 0.1696 } - drop_shadow = true - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow { + enabled = true + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } } # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more