diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 16:29:16 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 16:29:16 +0100 |
commit | 3dd3d428e1c9bd516299d03014485d79db68fff4 (patch) | |
tree | cd4a322f184b6341851617f66b71723471074dd3 | |
parent | 23a64c858c206074265bf2b57129854439faf292 (diff) | |
download | Ansible-3dd3d428e1c9bd516299d03014485d79db68fff4.tar.gz Ansible-3dd3d428e1c9bd516299d03014485d79db68fff4.tar.zst Ansible-3dd3d428e1c9bd516299d03014485d79db68fff4.zip |
Add zeal configuration and pcmanfm
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 16 | ||||
-rw-r--r-- | roles/lxde/tasks/main.yml | 35 |
2 files changed, 50 insertions, 1 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index 57d332e..07861ed 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml | |||
@@ -12,6 +12,22 @@ | |||
12 | dest: "$XDG_CONFIG_HOME/{{ item }}" | 12 | dest: "$XDG_CONFIG_HOME/{{ item }}" |
13 | loop: | 13 | loop: |
14 | - "autostart/zeal.desktop" | 14 | - "autostart/zeal.desktop" |
15 | - name: zeal configuration | ||
16 | ini_file: | ||
17 | path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf" | ||
18 | section: "{{ item.0 }}" | ||
19 | option: "{{ item.1 }}" | ||
20 | value: "{{ item.2 }}" | ||
21 | no_extra_spaces: true | ||
22 | loop: | ||
23 | - [ "General", "check_for_update", "true" ] | ||
24 | - [ "General", "hide_on_close", "true" ] | ||
25 | - [ "General", "minimize_to_systray", "true" ] | ||
26 | - [ "General", "show_systray_icon", "true" ] | ||
27 | - [ "General", "start_minimized", "true" ] | ||
28 | - [ "docsets", "path", "{{ lookup('env', 'XDG_DATA_HOME') }}/Zeal/Zeal/docsets" ] | ||
29 | - [ "search", "fuzzy_search_enabled", "false" ] | ||
30 | - [ "tabs", "open_new_tab_after_active", "false" ] | ||
15 | - name: Create pm2 config dir | 31 | - name: Create pm2 config dir |
16 | file: | 32 | file: |
17 | path: $XDG_CONFIG_HOME/pm2 | 33 | path: $XDG_CONFIG_HOME/pm2 |
diff --git a/roles/lxde/tasks/main.yml b/roles/lxde/tasks/main.yml index b91e84a..8bf27af 100644 --- a/roles/lxde/tasks/main.yml +++ b/roles/lxde/tasks/main.yml | |||
@@ -9,7 +9,6 @@ | |||
9 | dest: "$XDG_CONFIG_HOME/{{ lxde_config_item }}" | 9 | dest: "$XDG_CONFIG_HOME/{{ lxde_config_item }}" |
10 | loop: | 10 | loop: |
11 | - libfm/libfm.conf | 11 | - libfm/libfm.conf |
12 | - pcmanfm/LXDE/desktop-items-0.conf | ||
13 | - pcmanfm/LXDE/pcmanfm.conf | 12 | - pcmanfm/LXDE/pcmanfm.conf |
14 | - lxterminal/lxterminal.conf | 13 | - lxterminal/lxterminal.conf |
15 | - openbox/lxde-rc.xml | 14 | - openbox/lxde-rc.xml |
@@ -23,3 +22,37 @@ | |||
23 | - xinitrc | 22 | - xinitrc |
24 | loop_control: | 23 | loop_control: |
25 | loop_var: lxde_config_item | 24 | loop_var: lxde_config_item |
25 | - name: pcmanfm destkop configuration | ||
26 | ini_file: | ||
27 | path: "$XDG_CONFIG_HOME/pcmanfm/LXDE/desktop-items-0.conf" | ||
28 | section: "*" | ||
29 | option: "{{ item.0 }}" | ||
30 | value: "{{ item.1 }}" | ||
31 | no_extra_spaces: true | ||
32 | loop: | ||
33 | - [ "wallpaper_mode", "crop" ] | ||
34 | - [ "wallpaper_common", "1" ] | ||
35 | - [ "desktop_bg", "#000000" ] | ||
36 | - [ "desktop_fg", "#ffffff" ] | ||
37 | - [ "desktop_shadow", "#000000" ] | ||
38 | - [ "desktop_font", "Sans 12" ] | ||
39 | - [ "folder", "" ] | ||
40 | - [ "show_wm_menu", "0" ] | ||
41 | - [ "sort", "mtime;ascending;" ] | ||
42 | - [ "show_documents", "0" ] | ||
43 | - [ "show_trash", "1" ] | ||
44 | - [ "show_mounts", "0" ] | ||
45 | |||
46 | - name: lxmusic configuration | ||
47 | ini_file: | ||
48 | path: "$XDG_CONFIG_HOME/lxmusic/config" | ||
49 | section: Main | ||
50 | option: "{{ item.0 }}" | ||
51 | value: "{{ item.1 }}" | ||
52 | no_extra_spaces: true | ||
53 | loop: | ||
54 | - [ "show_tray_icon", 1 ] | ||
55 | - [ "close_to_tray", 0 ] | ||
56 | - [ "play_after_exit", 0 ] | ||
57 | - [ "show_playlist", 1 ] | ||
58 | - [ "filter", 0 ] | ||