@@ -1,8 +0,0 @@ | |||||
# {% if home_profile != "vdesk" %} | |||||
# blueman-applet & | |||||
# pasystray & | |||||
# nm-applet & | |||||
# {% endif %} | |||||
# {% if home_profile == "presentation" %} | |||||
# unclutter & | |||||
# {% endif %} |
@@ -39,6 +39,13 @@ | |||||
scope: user | scope: user | ||||
failed_when: false | failed_when: false | ||||
- name: autostart terminal | |||||
systemd: | |||||
name: autostart-desktop-app@{{default_terminal}}.service | |||||
enabled: false | |||||
scope: user | |||||
failed_when: false | |||||
- name: remove vdesk user service | - name: remove vdesk user service | ||||
file: | file: | ||||
path: ~/.config/systemd/user/vdesk@.service | path: ~/.config/systemd/user/vdesk@.service | ||||
@@ -0,0 +1,24 @@ | |||||
--- | |||||
- name: desktop app service | |||||
template: | |||||
src: desktop-apps/desktop-app.service.j2 | |||||
dest: ~/.config/systemd/user/desktop-app@.service | |||||
mode: 0755 | |||||
notify: systemd daemon-reload | |||||
- name: autostart terminal | |||||
systemd: | |||||
name: desktop-app@{{default_terminal}}.service | |||||
enabled: true | |||||
scope: user | |||||
# {% if home_profile != "vdesk" %} | |||||
# blueman-applet | |||||
# pasystray | |||||
# nm-applet | |||||
# {% endif %} | |||||
# {% if home_profile == "presentation" %} | |||||
# unclutter | |||||
# {% endif %} |
@@ -20,6 +20,7 @@ | |||||
- import_tasks: rofi.yaml | - import_tasks: rofi.yaml | ||||
- import_tasks: x11.yaml | - import_tasks: x11.yaml | ||||
- import_tasks: vnc.yaml | - import_tasks: vnc.yaml | ||||
- import_tasks: desktop-apps.yaml | |||||
when: home_desktop | when: home_desktop | ||||
- name: flush handlers | - name: flush handlers | ||||
@@ -0,0 +1,11 @@ | |||||
{{ ansible_managed | comment }} | |||||
[Unit] | |||||
Description=desktop app | |||||
PartOf=graphical-session.target | |||||
[Service] | |||||
ExecStart=%i | |||||
[Install] | |||||
WantedBy=graphical-session.target |