Przeglądaj źródła

desktop apps configurable

timer
rodzic
commit
985b799425
2 zmienionych plików z 13 dodań i 10 usunięć
  1. +6
    -0
      defaults/main.yaml
  2. +7
    -10
      tasks/desktop-apps.yaml

+ 6
- 0
defaults/main.yaml Wyświetl plik

@@ -51,3 +51,9 @@ mail_command: thunderbird

background_image: false
home_copy_all_background_images: false

home_autostart_terminal: true
home_autostart_nm_applet: "{{ home_profile != 'vdesk' }}"
home_autostart_blueman_applet: "{{ home_profile != 'vdesk' }}"
home_autostart_pasystray: "{{ home_profile != 'vdesk' }}"
home_autostart_unclutter: "{{ home_profile == 'presentation' }}"

+ 7
- 10
tasks/desktop-apps.yaml Wyświetl plik

@@ -10,33 +10,30 @@
- name: autostart terminal
systemd:
name: desktop-app@{{default_terminal}}.service
enabled: true
enabled: "{{ home_autostart_terminal }}"
scope: user

- name: autostart nm-applet
systemd:
name: desktop-app@nm-applet.service
enabled: true
enabled: "{{ home_autostart_nm_applet }}"
scope: user
when: home_profile != "vdesk"

- name: autostart blueman-applet
systemd:
name: desktop-app@blueman-applet.service
enabled: true
enabled: "{{ home_autostart_blueman_applet }}"
scope: user
when: home_profile != "vdesk"

- name: autostart pasystray
systemd:
name: desktop-app@pasystray.service
enabled: true
enabled: "{{ home_autostart_pasystray }}"
scope: user
when: home_profile != "vdesk"
when:

- name: do not autostart unclutter
- name: autostart unclutter
systemd:
name: desktop-app@unclutter.service
enabled: false
enabled: "{{ home_autostart_unclutter }}"
scope: user
when: home_profile == "presentation"