Use Hyprland instead of sway #1
|
@ -15,6 +15,9 @@
|
||||||
- build-essential
|
- build-essential
|
||||||
- cmake
|
- cmake
|
||||||
- meson
|
- meson
|
||||||
|
# hyprcursor
|
||||||
|
- libzip-dev
|
||||||
|
- librsvg2-dev
|
||||||
# Hyprland
|
# Hyprland
|
||||||
- libpango1.0-dev
|
- libpango1.0-dev
|
||||||
- libtomlplusplus-dev
|
- libtomlplusplus-dev
|
||||||
|
@ -33,13 +36,14 @@
|
||||||
loop:
|
loop:
|
||||||
- "Hyprland"
|
- "Hyprland"
|
||||||
- "hyprlang"
|
- "hyprlang"
|
||||||
|
- "hyprcursor"
|
||||||
- "xdg-desktop-portal-hyprland"
|
- "xdg-desktop-portal-hyprland"
|
||||||
|
|
||||||
- name: Checkout Hyprland repo
|
- name: Checkout Hyprland repo
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://github.com/hyprwm/Hyprland.git'
|
repo: 'https://github.com/hyprwm/Hyprland.git'
|
||||||
dest: /usr/local/src/Hyprland
|
dest: /usr/local/src/Hyprland
|
||||||
version: v0.35.0
|
version: v0.37.1
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -47,7 +51,15 @@
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://github.com/hyprwm/hyprlang.git'
|
repo: 'https://github.com/hyprwm/hyprlang.git'
|
||||||
dest: /usr/local/src/hyprlang
|
dest: /usr/local/src/hyprlang
|
||||||
version: v0.4.0
|
version: v0.5.0
|
||||||
|
force: true
|
||||||
|
recursive: true
|
||||||
|
|
||||||
|
- name: Checkout hyprcursor repo
|
||||||
|
ansible.builtin.git:
|
||||||
|
repo: 'https://github.com/hyprwm/hyprcursor.git'
|
||||||
|
dest: /usr/local/src/hyprcursor
|
||||||
|
version: v0.1.4
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -59,17 +71,6 @@
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
- name: Build Hyprland
|
|
||||||
community.general.make:
|
|
||||||
chdir: /usr/local/src/Hyprland
|
|
||||||
target: all
|
|
||||||
|
|
||||||
- name: Install Hyprland
|
|
||||||
become: true
|
|
||||||
community.general.make:
|
|
||||||
chdir: /usr/local/src/Hyprland
|
|
||||||
target: install
|
|
||||||
|
|
||||||
- name: Build hyprlang
|
- name: Build hyprlang
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "{{ item }}"
|
cmd: "{{ item }}"
|
||||||
|
@ -84,6 +85,31 @@
|
||||||
cmd: "cmake --install build"
|
cmd: "cmake --install build"
|
||||||
chdir: /usr/local/src/hyprlang
|
chdir: /usr/local/src/hyprlang
|
||||||
|
|
||||||
|
- name: Build hyprcursor
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: "{{ item }}"
|
||||||
|
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"
|
||||||
|
|
||||||
|
- name: Install hyprcursor
|
||||||
|
become: yes
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: "cmake --install build"
|
||||||
|
chdir: /usr/local/src/hyprcursor
|
||||||
|
|
||||||
|
- name: Build Hyprland
|
||||||
|
community.general.make:
|
||||||
|
chdir: /usr/local/src/Hyprland
|
||||||
|
target: all
|
||||||
|
|
||||||
|
- name: Install Hyprland
|
||||||
|
become: true
|
||||||
|
community.general.make:
|
||||||
|
chdir: /usr/local/src/Hyprland
|
||||||
|
target: install
|
||||||
|
|
||||||
- name: Build xdg-desktop-portal-hyprland
|
- name: Build xdg-desktop-portal-hyprland
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "{{ item }}"
|
cmd: "{{ item }}"
|
||||||
|
|
Loading…
Reference in a new issue