소스 검색

desktop apps configurable

timer
부모
커밋
985b799425
2개의 변경된 파일13개의 추가작업 그리고 10개의 파일을 삭제
  1. +6
    -0
      defaults/main.yaml
  2. +7
    -10
      tasks/desktop-apps.yaml

+ 6
- 0
defaults/main.yaml 파일 보기

@@ -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 파일 보기

@@ -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"