Jake Howard
79395ac589
Some of it might need restoring, but will work that out once I know what KDE doesn't do itself.
37 lines
911 B
YAML
37 lines
911 B
YAML
- 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:
|
|
- 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:
|
|
- libinput-gestures
|
|
- 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 }}"
|