system-from-scratch/roles/themes/tasks/main.yml

18 lines
536 B
YAML

- name: Install dconf-cli and python3-psutil to interact with dconf
become: true
ansible.builtin.apt:
pkg:
- dconf-cli
- python3-psutil
- name: Set gtk theme
community.general.dconf:
key: "/org/gnome/desktop/interface/gtk-theme"
value: "'Adwaita'"
- name: Set gtk icon theme
community.general.dconf:
key: "/org/gnome/desktop/interface/icon-theme"
value: "'Adwaita'"
- name: Enable dark mode
community.general.dconf:
key: /org/gnome/desktop/interface/color-scheme
value: "'prefer-dark'"