]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blob - roles/lxde/tasks/main.yml
Add backgrounds folder to git
[perso/Immae/Config/Ansible.git] / roles / lxde / tasks / main.yml
1 ---
2 - name: Import graphical
3 include_role:
4 name: graphical
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
18 - name: Config files
19 copy:
20 mode: preserve
21 src: "config_files/{{ item }}"
22 dest: "$XDG_CONFIG_HOME/{{ item }}"
23 loop:
24 - libfm/libfm.conf
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
34 - gpicview/gpicview.conf
35 - xinitrc
36 - name: pcmanfm destkop configuration
37 ini_file:
38 path: "$XDG_CONFIG_HOME/pcmanfm/LXDE/desktop-items-0.conf"
39 section: "*"
40 option: "{{ item.0 }}"
41 value: "{{ item.1 }}"
42 no_extra_spaces: true
43 loop:
44 - [ "wallpaper_mode", "crop" ]
45 - [ "wallpaper_common", "1" ]
46 - [ "desktop_bg", "#000000" ]
47 - [ "desktop_fg", "#ffffff" ]
48 - [ "desktop_shadow", "#000000" ]
49 - [ "desktop_font", "Sans 12" ]
50 - [ "folder", "" ]
51 - [ "show_wm_menu", "0" ]
52 - [ "sort", "mtime;ascending;" ]
53 - [ "show_documents", "0" ]
54 - [ "show_trash", "1" ]
55 - [ "show_mounts", "0" ]
56 - name: lxmusic configuration
57 ini_file:
58 path: "$XDG_CONFIG_HOME/lxmusic/config"
59 section: Main
60 option: "{{ item.0 }}"
61 value: "{{ item.1 }}"
62 no_extra_spaces: true
63 loop:
64 - [ "show_tray_icon", 1 ]
65 - [ "close_to_tray", 0 ]
66 - [ "play_after_exit", 0 ]
67 - [ "show_playlist", 1 ]
68 - [ "filter", 0 ]
69 - name: Background repository
70 tags: ["no_bootstrap"]
71 git:
72 dest: "$XDG_DATA_HOME/backgrounds"
73 repo: gitolite@git.immae.eu:perso/Immae/Config/Ansible/Backgrounds