]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/lxde/tasks/main.yml
Add backgrounds folder to git
[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
e1c588d3
IB
21 src: "config_files/{{ item }}"
22 dest: "$XDG_CONFIG_HOME/{{ item }}"
eac82f28
IB
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 35 - xinitrc
3dd3d428
IB
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" ]
3dd3d428
IB
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 ]
afdce38e
IB
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