]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Add zeal configuration and pcmanfm
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 15:29:16 +0000 (16:29 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 15:29:16 +0000 (16:29 +0100)
roles/contexts/fretlink/tasks/main.yml
roles/lxde/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
index b91e84a6f94239d350a6efeec4311d15da6f8264..8bf27af76c367f123d04e5c43b60ccdda2ed8128 100644 (file)
@@ -9,7 +9,6 @@
     dest: "$XDG_CONFIG_HOME/{{ lxde_config_item }}"
   loop:
     - libfm/libfm.conf
-    - pcmanfm/LXDE/desktop-items-0.conf
     - pcmanfm/LXDE/pcmanfm.conf
     - lxterminal/lxterminal.conf
     - openbox/lxde-rc.xml
     - xinitrc
   loop_control:
     loop_var: lxde_config_item
+- name: pcmanfm destkop configuration
+  ini_file:
+    path: "$XDG_CONFIG_HOME/pcmanfm/LXDE/desktop-items-0.conf"
+    section: "*"
+    option: "{{ item.0 }}"
+    value: "{{ item.1 }}"
+    no_extra_spaces: true
+  loop:
+    - [ "wallpaper_mode", "crop" ]
+    - [ "wallpaper_common", "1" ]
+    - [ "desktop_bg", "#000000" ]
+    - [ "desktop_fg", "#ffffff" ]
+    - [ "desktop_shadow", "#000000" ]
+    - [ "desktop_font", "Sans 12" ]
+    - [ "folder", "" ]
+    - [ "show_wm_menu", "0" ]
+    - [ "sort", "mtime;ascending;" ]
+    - [ "show_documents", "0" ]
+    - [ "show_trash", "1" ]
+    - [ "show_mounts", "0" ]
+
+- name: lxmusic configuration
+  ini_file:
+    path: "$XDG_CONFIG_HOME/lxmusic/config"
+    section: Main
+    option: "{{ item.0 }}"
+    value: "{{ item.1 }}"
+    no_extra_spaces: true
+  loop:
+    - [ "show_tray_icon", 1 ]
+    - [ "close_to_tray", 0 ]
+    - [ "play_after_exit", 0 ]
+    - [ "show_playlist", 1 ]
+    - [ "filter", 0 ]