]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/contexts/fretlink/tasks/main.yml
Add zeal configuration and pcmanfm
[perso/Immae/Config/Ansible.git] / roles / contexts / fretlink / tasks / main.yml
index 57d332e4d8aeb0767723616c03ebf78ef269643b..07861ed2a5e5901ba5e7b14c607e8edeed46164b 100644 (file)
     dest: "$XDG_CONFIG_HOME/{{ item }}"
   loop:
     - "autostart/zeal.desktop"
+- name: zeal configuration
+  ini_file:
+    path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf"
+    section: "{{ item.0 }}"
+    option: "{{ item.1 }}"
+    value: "{{ item.2 }}"
+    no_extra_spaces: true
+  loop:
+    - [ "General", "check_for_update", "true" ]
+    - [ "General", "hide_on_close", "true" ]
+    - [ "General", "minimize_to_systray", "true" ]
+    - [ "General", "show_systray_icon", "true" ]
+    - [ "General", "start_minimized", "true" ]
+    - [ "docsets", "path", "{{ lookup('env', 'XDG_DATA_HOME') }}/Zeal/Zeal/docsets" ]
+    - [ "search", "fuzzy_search_enabled", "false" ]
+    - [ "tabs", "open_new_tab_after_active", "false" ]
 - name: Create pm2 config dir
   file:
     path: $XDG_CONFIG_HOME/pm2