]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/tools/tasks/main.yml
Add some dconf configuration
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
CommitLineData
397c4fed
IB
1---
2- name: Import other tools
3 include_role:
4 name: "{{ item }}"
5 loop:
6 - git
7 - gnupg
8- name: mplayer config file
9 copy:
10 src: mplayer
11 dest: $XDG_CONFIG_HOME/mplayer/config
12- name: psql config file
13 copy:
14 src: psqlrc
15 dest: $XDG_CONFIG_HOME/psql/psqlrc
16- name: psql history directory
17 file:
18 path: $XDG_STATE_HOME/psql
19 state: directory
20- name: vim config file
397c4fed
IB
21 copy:
22 src: vimrc
23 dest: $XDG_CONFIG_HOME/vim/vimrc
d03cede6
IB
24 notify:
25 - run PlugInstall
397c4fed
IB
26- name: tmux config file
27 template:
28 src: tmux.conf.j2
29 dest: $XDG_CONFIG_HOME/tmux/tmux.conf
30- name: youtube viewer config file
31 template:
32 src: youtube-viewer.conf.j2
33 dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
34- name: remind config file
35 synchronize:
36 recursive: yes
37 archive: no
38 checksum: yes
39 src: remind/commands/
40 dest: /$XDG_CONFIG_HOME/remind/
41- name: remind service file
42 copy:
43 src: remind/remind@.service
44 dest: $XDG_CONFIG_HOME/systemd/user/
45 notify:
46 - reload systemd
b6984948
IB
47- name: Link password store
48 file:
49 path: "$XDG_DATA_HOME/pass"
50 src: "$XDG_CONFIG_HOME/ansible/password_store"
51 state: link
78ae9604
IB
52- name: dconf configuration
53 # check: `dconf dump /` or `dconf-editor`
54 dconf:
55 key: "{{ item.0 }}"
56 value: "{{ item.1 }}"
57 loop:
58 - ["/org/gnome/evince/default/continuous", "true"]
59 - ["/org/gnome/evince/default/fullscreen", "true"]
60 - ["/org/gtk/settings/file-chooser/sort-column", "'name'"]
61 - ["/org/gtk/settings/file-chooser/show-size-column", "true"]
62 - ["/org/gtk/settings/file-chooser/show-hidden", "true"]
63 - ["/org/gtk/settings/file-chooser/location-mode", "'path-bar'"]
64 - ["/org/gtk/settings/file-chooser/sort-directories-first", "false"]
65 - ["/org/gtk/settings/file-chooser/sort-order", "'ascending'"]
66 - ["/org/gtk/settings/file-chooser/startup-mode", "'recent'"]
67- name: gtk2 configuration
68 ini_file:
69 path: "$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.ini"
70 section: "Filechooser Settings"
71 option: "{{ item.0 }}"
72 value: "{{ item.1 }}"
73 no_extra_spaces: true
74 loop:
75 - [ "SortColumn", "name" ]
76 - [ "ShowSizeColumn", "true" ]
77 - [ "ShowHidden", "true" ]
78 - [ "LocationMode", "path-bar" ]
79 - [ "SortOrder", "ascending" ]
80 - [ "StartupMode", "recent" ]
81