82 lines
1.9 KiB
YAML
82 lines
1.9 KiB
YAML
---
|
|
# tasks file for gnome
|
|
- name: Install gnome for arch
|
|
import_tasks: arch.yml
|
|
when: ansible_os_family == "Archlinux"
|
|
|
|
|
|
- name: enable service gdm
|
|
systemd:
|
|
name: gdm
|
|
enabled: yes
|
|
|
|
- name: disable old network services
|
|
systemd:
|
|
name: '{{ item }}'
|
|
enabled: no
|
|
with_items:
|
|
- dhcpcd
|
|
ignore_errors: yes
|
|
|
|
- name: enable service NetworkManager
|
|
systemd:
|
|
name: NetworkManager
|
|
enabled: yes
|
|
|
|
- name: <super + q> to close window
|
|
dconf:
|
|
key: "/org/gnome/desktop/wm/keybindings/close"
|
|
value: "['<Super>q']"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: <super + enter> to fire a terminal - binding
|
|
dconf:
|
|
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/binding"
|
|
value: "'<Super>Return'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: <super + enter> to fire a terminal - command
|
|
dconf:
|
|
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/command"
|
|
value: "'urxvt'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: <super + enter> to fire a terminal - name
|
|
dconf:
|
|
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/name"
|
|
value: "'Terminal'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: Shell theme
|
|
dconf:
|
|
key: "/org/gnome/shell/extensions/user-theme/name"
|
|
value: "'Materia-dark-compact'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: Gtk theme
|
|
dconf:
|
|
key: "/org/gnome/desktop/interface/gkt-theme"
|
|
value: "'Materia-dark-compact'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|
|
- name: Icon theme
|
|
dconf:
|
|
key: "/org/gnome/desktop/interface/icon-theme"
|
|
value: "'Tela-orange-dark'"
|
|
state: present
|
|
become: true
|
|
become_user: "{{ me.username }}"
|
|
|