mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-15 20:08:44 +00:00
qt, quickshell, wms
This commit is contained in:
parent
147bf7b5d6
commit
2eb5a886f8
8 changed files with 134 additions and 7 deletions
|
|
@ -1,3 +1,6 @@
|
|||
- name: Installing opengl libs
|
||||
ansible.builtin.import_tasks: opengl.yml
|
||||
|
||||
- name: Getting programs list to check fish presence
|
||||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
|
|
@ -7,12 +10,6 @@
|
|||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- glew-devel
|
||||
- SDL2-devel
|
||||
- SDL2_image-devel
|
||||
- glm-devel
|
||||
- freetype-devel
|
||||
- mesa-libGLU
|
||||
- openal-soft
|
||||
- java-21-openjdk
|
||||
state: latest
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@
|
|||
ansible.builtin.import_tasks: truffle.yml
|
||||
when: "'truffle' in tools"
|
||||
|
||||
# - name: Truffle development environment
|
||||
# ansible.builtin.import_tasks: opengl.yml
|
||||
# when: "'opengl' in tools"
|
||||
|
||||
- name: Truffle development environment
|
||||
ansible.builtin.import_tasks: gamedev.yml
|
||||
when: "'gamedev' in tools"
|
||||
|
||||
- name: Truffle development environment
|
||||
ansible.builtin.import_tasks: qt.yml
|
||||
when: "'qt' in tools"
|
||||
|
|
|
|||
11
roles/dev/tasks/opengl.yml
Normal file
11
roles/dev/tasks/opengl.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- name: Installing opengl libs
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- glew-devel
|
||||
- SDL2-devel
|
||||
- SDL2_image-devel
|
||||
- glm-devel
|
||||
- freetype-devel
|
||||
- mesa-libGLU
|
||||
state: latest
|
||||
22
roles/dev/tasks/qt.yml
Normal file
22
roles/dev/tasks/qt.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
- name: Installing opengl libs
|
||||
ansible.builtin.import_tasks: opengl.yml
|
||||
|
||||
- name: Installing cpp
|
||||
ansible.builtin.import_tasks: cpp.yml
|
||||
|
||||
- name: Installing qt devel libs
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- qt6-qtdeclarative-devel
|
||||
- qt6-qtbase-devel
|
||||
state: latest
|
||||
|
||||
# - name: Installing qt creator
|
||||
# become: true
|
||||
# ansible.builtin.dnf5:
|
||||
# name:
|
||||
# - qt6-creator
|
||||
# state: latest
|
||||
|
||||
|
||||
|
|
@ -17,3 +17,11 @@
|
|||
- name: Installing proxies
|
||||
ansible.builtin.import_tasks: proxy.yml
|
||||
when: "'proxy' in apps"
|
||||
|
||||
- name: Installing wm
|
||||
ansible.builtin.import_tasks: wm.yml
|
||||
when: "'wm' in apps"
|
||||
|
||||
- name: Installing quickshell
|
||||
ansible.builtin.import_tasks: quickshell.yml
|
||||
when: "'quickshell' in apps"
|
||||
|
|
|
|||
67
roles/installs/tasks/quickshell.yml
Normal file
67
roles/installs/tasks/quickshell.yml
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
- name: Enabling quickshell fedora copr
|
||||
community.general.copr:
|
||||
host: copr.fedorainfracloud.org
|
||||
state: enabled
|
||||
name: errornointernet/quickshell
|
||||
|
||||
- name: Installing quickshell
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- quickshell-git
|
||||
state: latest
|
||||
|
||||
- name: Installing common deps
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- rsms-inter-fonts
|
||||
- fira-code-fonts
|
||||
state: latest
|
||||
|
||||
- name: Creating fonts dir
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.local/share/fonts"
|
||||
state: directory
|
||||
# mode: a
|
||||
|
||||
- name: Downloading material design icons font
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/google/material-design-icons/raw/master/variablefont/MaterialSymbolsRounded%5BFILL%2CGRAD%2Copsz%2Cwght%5D.ttf"
|
||||
dest: "{{ ansible_env.HOME }}/.local/share/fonts/MaterialSymbolsRounded.ttf"
|
||||
# mode: a
|
||||
force: false
|
||||
|
||||
- name: Updating fonts cache
|
||||
ansible.builtin.command:
|
||||
cmd: fc-cache -f
|
||||
changed_when: true
|
||||
|
||||
- name: Installing matugen v2.4.1
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
||||
dest: "/usr/bin/matugen" # TODO: user local install (?)
|
||||
mode: a+x
|
||||
force: true
|
||||
|
||||
- name: Installing matugen v2.4.1 (material you themes gen)
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
||||
dest: "/usr/bin/matugen" # TODO: user local install (?)
|
||||
mode: a+x
|
||||
force: true
|
||||
|
||||
- name: Installing dgop v0.0.9 (sensors data utility)
|
||||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/AvengeMedia/dgop/releases/download/v0.0.9/dgop-v0.0.9-linux-amd64"
|
||||
dest: "/usr/bin/" # TODO: user local install (?)
|
||||
mode: a+x
|
||||
force: true
|
||||
keep_newer: true
|
||||
extra_opts:
|
||||
- --strip=1
|
||||
- --no-anchored
|
||||
- dgop
|
||||
14
roles/installs/tasks/wm.yml
Normal file
14
roles/installs/tasks/wm.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- name: Installing niri
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- niri
|
||||
state: latest
|
||||
|
||||
- name: Installing hyprland
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- hyprland
|
||||
state: latest
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue