12 path: "$XDG_CONFIG_HOME/{{ item }}"
19 src: "config_files/{{ item }}"
20 dest: "$XDG_CONFIG_HOME/{{ item }}"
22 - autostart/zeal.desktop
23 - name: zeal configuration
25 path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf"
26 section: "{{ item.0 }}"
27 option: "{{ item.1 }}"
31 - [ "General", "check_for_update", "true" ]
32 - [ "General", "hide_on_close", "true" ]
33 - [ "General", "minimize_to_systray", "true" ]
34 - [ "General", "show_systray_icon", "true" ]
35 - [ "General", "start_minimized", "true" ]
36 - [ "docsets", "path", "{{ lookup('env', 'XDG_DATA_HOME') }}/Zeal/Zeal/docsets" ]
37 - [ "search", "fuzzy_search_enabled", "false" ]
38 - [ "tabs", "open_new_tab_after_active", "false" ]
41 - name: Check missing Zeal docsets
42 register: zeal_missing_docsets
43 shell: "for i in {{ zeal_roles | join(' ') }}; do [ -d $XDG_DATA_HOME/Zeal/Zeal/docsets/$i.docset ] || echo $i; done"
44 changed_when: zeal_missing_docsets.stdout != ""
46 - name: Ask for Zeal docsets
47 when: zeal_missing_docsets.stdout != ""
49 prompt: "install Zeal docsets ? [y/N]"
50 register: zeal_install_docsets
53 when: zeal_missing_docsets.stdout != "" and zeal_install_docsets.user_input.startswith("y")
54 shell: "dasht-docsets-install {{ item }}"
56 creates: "$XDG_DATA_HOME/Zeal/Zeal/docsets/{{ item }}.docset"
57 loop: "{{ zeal_missing_docsets.stdout.split('\n') }}"
64 - name: workdir scripts
67 src: "workdir/{{ item }}"
68 dest: "$HOME/workdir/{{ item }}"
71 - name: environment variables file
73 - name: extract environment
74 shell: "pass show Travail/Fretlink/Environment"
75 register: fretlink_environment
78 - name: store environment
80 dest: $HOME/workdir/environment
81 content: "{{ fretlink_environment.stdout }}"
82 - name: enable remind service
86 name: remind@work.service