mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-27 01:38:44 +00:00
69 lines
1.9 KiB
YAML
69 lines
1.9 KiB
YAML
- name: Enabling quickshell fedora copr
|
|
become: true
|
|
community.general.copr:
|
|
host: copr.fedorainfracloud.org
|
|
state: enabled
|
|
name: errornointernet/quickshell
|
|
|
|
- name: Installing quickshell
|
|
become: true
|
|
ansible.builtin.dnf5:
|
|
name:
|
|
- quickshell
|
|
- quickshell-debuginfo
|
|
- quickshell-debugsource
|
|
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 (material you themes gen) v2.4.1 (fixed)
|
|
become: true
|
|
ansible.builtin.unarchive:
|
|
remote_src: true
|
|
src: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
|
dest: "{{ bin_install_path }}/"
|
|
mode: a+x
|
|
keep_newer: true
|
|
extra_opts:
|
|
- --strip=1
|
|
- --no-anchored
|
|
- matugen
|
|
|
|
- name: Get latest dgop (sensors data utility) version
|
|
community.general.github_release:
|
|
user: AvengeMedia
|
|
repo: dgop
|
|
action: latest_release
|
|
register: dgop_version
|
|
|
|
- name: Installing dgop (sensors data utility) {{ dgop_version.tag }}
|
|
become: true
|
|
ansible.builtin.get_url:
|
|
url: "https://github.com/AvengeMedia/dgop/releases/download/{{ dgop_version.tag }}/dgop-{{ dgop_version.tag }}-linux-amd64"
|
|
dest: "{{ bin_install_path }}/dgop"
|
|
mode: a+x
|
|
force: true
|