2019-03-14 21:34:29 +00:00
|
|
|
- name: "Install autostart-related packages"
|
|
|
|
aur:
|
|
|
|
skip_installed: true
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
|
|
|
when: "item not in installed_packages.stdout_lines"
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2019-03-14 21:34:29 +00:00
|
|
|
- 'dex'
|
|
|
|
|
2019-05-27 16:48:44 +01:00
|
|
|
- name: "Create autostart directory"
|
|
|
|
file:
|
|
|
|
path: '{{ home }}/.config/autostart'
|
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: "Autostart services"
|
|
|
|
file:
|
2018-09-11 16:28:14 +01:00
|
|
|
src: "/etc/xdg/autostart/{{ item }}.desktop"
|
2018-09-17 17:22:15 +01:00
|
|
|
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
|
2018-09-11 16:28:14 +01:00
|
|
|
mode: 0644
|
2018-09-17 17:22:15 +01:00
|
|
|
owner: "{{ user }}"
|
2018-09-11 16:28:14 +01:00
|
|
|
state: link
|
|
|
|
force: true
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2018-09-11 16:28:14 +01:00
|
|
|
- 'pulseaudio'
|
|
|
|
- 'nm-applet'
|
2018-10-06 11:36:21 +01:00
|
|
|
- 'lxqt-policykit-agent'
|
2018-09-11 16:28:14 +01:00
|
|
|
- 'solaar'
|
2018-11-07 19:15:53 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: "Autostart applications"
|
|
|
|
file:
|
2018-11-07 19:15:53 +00:00
|
|
|
src: "/usr/share/applications/{{ item }}.desktop"
|
|
|
|
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
state: link
|
|
|
|
force: true
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2018-11-07 19:15:53 +00:00
|
|
|
- 'flameshot'
|
2019-03-14 08:39:38 +00:00
|
|
|
- 'libinput-gestures'
|