dotfiles/tasks/autostart.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

- name: Install autostart-related packages
kewlfft.aur.aur:
2019-03-14 21:34:29 +00:00
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- dex
2019-03-14 21:34:29 +00:00
- name: Create autostart directory
2019-05-27 16:48:44 +01:00
file:
path: "{{ home }}/.config/autostart"
2019-05-27 16:48:44 +01:00
state: directory
owner: "{{ user }}"
mode: 0755
- name: Autostart services
2019-05-25 16:50:09 +01:00
file:
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
loop:
- blueman
- pulseaudio
- nm-applet
- lxqt-policykit-agent
- name: Autostart applications
2019-05-25 16:50:09 +01:00
file:
src: /usr/share/applications/{{ item }}.desktop
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
mode: 0644
owner: "{{ user }}"
state: link
force: true
loop:
- libinput-gestures
2023-01-08 15:26:35 +00:00
- org.flameshot.Flameshot
- name: Autostart solaar
get_url:
url: https://raw.githubusercontent.com/pwr-Solaar/Solaar/master/share/autostart/solaar.desktop
dest: "{{ home }}/.config/autostart/solaar.desktop"
mode: 0755
force: true
owner: "{{ user }}"