Ansible_workstation/tasks/arch_gnome.yml

128 lines
2.8 KiB
YAML

---
- name: Install gnome packages
pacman:
name:
- gnome
- gdm
- gnome-tweaks
- gparted
- transmission-gtk
- quodlibet
- chrome-gnome-shell
- networkmanager
- network-manager-applet
- gnome-keyring
- grsync
- soundconverter
- picard
- shotwell
- pitivi
- seahorse
state: present
- 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: Install python-psutil package
pacman:
name: python-psutil
state: present
- name: Install look and feel
pacman:
name:
- materia-gtk-theme
- gnome-icon-theme-extras
- arc-solid-gtk-theme
- arc-gtk-theme
- gnome-themes-extra
- gnome-icon-theme-symbolic
- gnome-icon-theme
- adwaita-icon-theme
state: present
- name: Install AUR Icons and gtk themes
aur:
name: "{{ item }}"
use: makepkg
skip_installed: true
with_items:
- plata-theme
- gnome-colors-icon-theme
- numix-icon-theme-git
- numix-circle-icon-theme-git
- tela-icon-theme-git
become: yes
become_user: aur_builder
- 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: "'alacritty'"
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: "'Plata-Noir-Compact'"
state: present
become: true
become_user: "{{ me.username }}"
- name: Gtk theme
dconf:
key: "/org/gnome/desktop/interface/gkt-theme"
value: "'Plata-Noir-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 }}"