mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-31 03:38:16 +00:00
qt, quickshell, wms
This commit is contained in:
parent
147bf7b5d6
commit
2eb5a886f8
8 changed files with 134 additions and 7 deletions
|
|
@ -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