mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-15 20:08: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-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.unarchive:
|
|
remote_src: true
|
|
src: "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
|