diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-07 00:49:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-08 09:46:46 +0100 |
commit | 78ae9604c629fcfadbbcb70ae743068ea6d40278 (patch) | |
tree | ada32ef551e7fbdc96078b84e5c73a33a033b067 | |
parent | 8d6f2cdad4e9b2e14cf16f5a9c3edadd2e65e638 (diff) | |
download | Ansible-78ae9604c629fcfadbbcb70ae743068ea6d40278.tar.gz Ansible-78ae9604c629fcfadbbcb70ae743068ea6d40278.tar.zst Ansible-78ae9604c629fcfadbbcb70ae743068ea6d40278.zip |
Add some dconf configuration
-rw-r--r-- | roles/tools/tasks/main.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 70bba9d..748bd77 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml | |||
@@ -49,3 +49,33 @@ | |||
49 | path: "$XDG_DATA_HOME/pass" | 49 | path: "$XDG_DATA_HOME/pass" |
50 | src: "$XDG_CONFIG_HOME/ansible/password_store" | 50 | src: "$XDG_CONFIG_HOME/ansible/password_store" |
51 | state: link | 51 | state: link |
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 | |||