Compare commits
No commits in common. "0bc70a848455a731660ccee7a0aa7231efa91a72" and "d0db9aac63de42665b8c08cbeb7a169e3ed72fb6" have entirely different histories.
0bc70a8484
...
d0db9aac63
|
@ -1,5 +1,3 @@
|
||||||
mobile_platform: false
|
|
||||||
|
|
||||||
monitors:
|
monitors:
|
||||||
- desc: "LG Electronics LG ULTRAGEAR 311NTZN8J917"
|
- desc: "LG Electronics LG ULTRAGEAR 311NTZN8J917"
|
||||||
output: "DP-1"
|
output: "DP-1"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
APT::Default-Release "/^testing(|-security|-updates)$/";
|
|
|
@ -1,16 +1,3 @@
|
||||||
- name: Set apt default-release to "testing"
|
|
||||||
become: yes
|
|
||||||
copy:
|
|
||||||
src: "{{ role_path }}/files/20-tum.conf"
|
|
||||||
dest: "/etc/apt/apt.conf.d/20-tum.conf"
|
|
||||||
|
|
||||||
- name: Add unstable repository
|
|
||||||
become: yes
|
|
||||||
ansible.builtin.apt_repository:
|
|
||||||
repo: deb http://deb.debian.org/debian unstable main contrib non-free-firmware
|
|
||||||
state: present
|
|
||||||
update_cache: true
|
|
||||||
|
|
||||||
- name: Install build dependencies (1/2)
|
- name: Install build dependencies (1/2)
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
|
@ -38,8 +25,8 @@
|
||||||
- libpango1.0-dev
|
- libpango1.0-dev
|
||||||
- libtomlplusplus-dev
|
- libtomlplusplus-dev
|
||||||
- uuid-dev
|
- uuid-dev
|
||||||
- libxcb-errors-dev
|
|
||||||
# xdg-desktop-portal-hyprland
|
# xdg-desktop-portal-hyprland
|
||||||
|
#- qtbase5-dev
|
||||||
- qt6-base-dev
|
- qt6-base-dev
|
||||||
- libspa-0.2-dev
|
- libspa-0.2-dev
|
||||||
- libpipewire-0.3-dev
|
- libpipewire-0.3-dev
|
||||||
|
@ -52,26 +39,17 @@
|
||||||
owner: "{{ ansible_user_id }}"
|
owner: "{{ ansible_user_id }}"
|
||||||
group: "{{ ansible_user_id }}"
|
group: "{{ ansible_user_id }}"
|
||||||
loop:
|
loop:
|
||||||
- "hyprutils"
|
|
||||||
- "hyprwayland-scanner"
|
- "hyprwayland-scanner"
|
||||||
- "Hyprland"
|
- "Hyprland"
|
||||||
- "hyprlang"
|
- "hyprlang"
|
||||||
- "hyprcursor"
|
- "hyprcursor"
|
||||||
- "xdg-desktop-portal-hyprland"
|
- "xdg-desktop-portal-hyprland"
|
||||||
|
|
||||||
- name: Checkout hyprutils repo
|
|
||||||
ansible.builtin.git:
|
|
||||||
repo: 'https://github.com/hyprwm/hyprutils.git'
|
|
||||||
dest: /usr/local/src/hyprutils
|
|
||||||
version: v0.1.4
|
|
||||||
force: true
|
|
||||||
recursive: true
|
|
||||||
|
|
||||||
- name: Checkout hyprwayland-scanner repo
|
- name: Checkout hyprwayland-scanner repo
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://github.com/hyprwm/hyprwayland-scanner.git'
|
repo: 'https://github.com/hyprwm/hyprwayland-scanner.git'
|
||||||
dest: /usr/local/src/hyprwayland-scanner
|
dest: /usr/local/src/hyprwayland-scanner
|
||||||
version: v0.3.10
|
version: v0.3.4
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -79,7 +57,7 @@
|
||||||
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.41.1
|
version: v0.40.0
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -87,7 +65,7 @@
|
||||||
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.5.2
|
version: v0.5.1
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -95,7 +73,7 @@
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://github.com/hyprwm/hyprcursor.git'
|
repo: 'https://github.com/hyprwm/hyprcursor.git'
|
||||||
dest: /usr/local/src/hyprcursor
|
dest: /usr/local/src/hyprcursor
|
||||||
version: v0.1.9
|
version: v0.1.8
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
@ -107,20 +85,6 @@
|
||||||
force: true
|
force: true
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
- name: Build hyprutils
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: "{{ item }}"
|
|
||||||
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"
|
|
||||||
|
|
||||||
- name: Install hyprutils
|
|
||||||
become: yes
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: "cmake --install build"
|
|
||||||
chdir: /usr/local/src/hyprutils
|
|
||||||
|
|
||||||
- name: Build hyprwayland-scanner
|
- name: Build hyprwayland-scanner
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "{{ item }}"
|
cmd: "{{ item }}"
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
import_tasks: flatpak.yml
|
import_tasks: flatpak.yml
|
||||||
|
|
||||||
- name: Include configuration steps
|
- name: Include configuration steps
|
||||||
import_tasks: config.yml
|
import_tasks: config.yml
|
|
@ -1,7 +1,6 @@
|
||||||
# Monitor configuration (see https://wiki.hyprland.org/Configuring/Monitors/)
|
# Monitor configuration (see https://wiki.hyprland.org/Configuring/Monitors/)
|
||||||
{% for monitor in hostvars[ansible_hostname]['monitors'] %}
|
{% for monitor in hostvars[ansible_hostname]['monitors'] %}
|
||||||
monitor=desc:{{ monitor['desc'] }}, {{ monitor['resolution'] }}, {{ monitor['position'] | default('auto') }}, 1{% if 'transform' in monitor %}, transform, {{ monitor['transform'] }}{% endif %}
|
monitor=desc:{{ monitor['desc'] }}, {{ monitor['resolution'] }}, {{ monitor['position'] | default('auto') }}, 1
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# Programs to use
|
# Programs to use
|
||||||
|
|
Loading…
Reference in a new issue