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

19 lines
536 B
YAML
Raw Normal View History

- name: Install dconf-cli and python3-psutil to interact with dconf
become: true
2024-06-22 11:40:26 +05:00
ansible.builtin.apt:
pkg:
- dconf-cli
- python3-psutil
2024-06-22 11:40:26 +05:00
- 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'"