dotfiles/tasks/autostart.yml
Jake Howard 94d483e7b7
Stop manually skipping packages
It's now a bit faster, and I can live with it. This is also much simpler now!
2020-06-15 12:33:03 +01:00

41 lines
858 B
YAML

- name: Install autostart-related packages
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