]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/lxde/tasks/main.yml
Add dir creation
[perso/Immae/Config/Ansible.git] / roles / lxde / tasks / main.yml
CommitLineData
397c4fed
IB
1---
2- name: Import graphical
3 include_role:
4 name: graphical
587b6dd6
IB
5- name: Config dirs
6 file:
7 state: directory
8 path: "$XDG_CONFIG_HOME/{{ item }}"
9 loop:
10 - libfm
11 - pcmanfm/LXDE
12 - lxterminal
13 - openbox
14 - lxpanel/LXDE/panels
15 - lxsession-default-apps
16 - lxsession/LXDE
17 - gpicview
397c4fed 18- name: Config files
eac82f28
IB
19 copy:
20 mode: preserve
21 src: "config_files/{{ lxde_config_item }}"
22 dest: "$XDG_CONFIG_HOME/{{ lxde_config_item }}"
23 loop:
24 - libfm/libfm.conf
eac82f28
IB
25 - pcmanfm/LXDE/pcmanfm.conf
26 - lxterminal/lxterminal.conf
27 - openbox/lxde-rc.xml
28 - lxpanel/LXDE/panels/panel
29 - lxpanel/LXDE/config
30 - lxpanel/launchtaskbar.cfg
31 - lxsession-default-apps/settings.conf
32 - lxsession/LXDE/autostart
33 - lxsession/LXDE/desktop.conf
23a64c85 34 - gpicview/gpicview.conf
eac82f28
IB
35 - xinitrc
36 loop_control:
37 loop_var: lxde_config_item
3dd3d428
IB
38- name: pcmanfm destkop configuration
39 ini_file:
40 path: "$XDG_CONFIG_HOME/pcmanfm/LXDE/desktop-items-0.conf"
41 section: "*"
42 option: "{{ item.0 }}"
43 value: "{{ item.1 }}"
44 no_extra_spaces: true
45 loop:
46 - [ "wallpaper_mode", "crop" ]
47 - [ "wallpaper_common", "1" ]
48 - [ "desktop_bg", "#000000" ]
49 - [ "desktop_fg", "#ffffff" ]
50 - [ "desktop_shadow", "#000000" ]
51 - [ "desktop_font", "Sans 12" ]
52 - [ "folder", "" ]
53 - [ "show_wm_menu", "0" ]
54 - [ "sort", "mtime;ascending;" ]
55 - [ "show_documents", "0" ]
56 - [ "show_trash", "1" ]
57 - [ "show_mounts", "0" ]
58
59- name: lxmusic configuration
60 ini_file:
61 path: "$XDG_CONFIG_HOME/lxmusic/config"
62 section: Main
63 option: "{{ item.0 }}"
64 value: "{{ item.1 }}"
65 no_extra_spaces: true
66 loop:
67 - [ "show_tray_icon", 1 ]
68 - [ "close_to_tray", 0 ]
69 - [ "play_after_exit", 0 ]
70 - [ "show_playlist", 1 ]
71 - [ "filter", 0 ]