56794341da
See https://github.com/kewlfft/ansible-aur/pull/58 for more info. Signed-off-by: Maxwell G <gotmax@e.email>
41 lines
870 B
YAML
41 lines
870 B
YAML
- name: Install autostart-related packages
|
|
kewlfft.aur.aur:
|
|
name: "{{ item }}"
|
|
become: true
|
|
become_user: aur_builder
|
|
loop:
|
|
- dex
|
|
|
|
- name: Create autostart directory
|
|
file:
|
|
path: "{{ home }}/.config/autostart"
|
|
state: directory
|
|
owner: "{{ user }}"
|
|
mode: 0755
|
|
|
|
- name: Autostart services
|
|
file:
|
|
src: /etc/xdg/autostart/{{ item }}.desktop
|
|
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
|
|
mode: 0644
|
|
owner: "{{ user }}"
|
|
state: link
|
|
force: true
|
|
loop:
|
|
- blueman
|
|
- pulseaudio
|
|
- nm-applet
|
|
- lxqt-policykit-agent
|
|
- solaar
|
|
|
|
- name: Autostart applications
|
|
file:
|
|
src: /usr/share/applications/{{ item }}.desktop
|
|
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
|
|
mode: 0644
|
|
owner: "{{ user }}"
|
|
state: link
|
|
force: true
|
|
loop:
|
|
- flameshot
|
|
- libinput-gestures
|