From 78ae9604c629fcfadbbcb70ae743068ea6d40278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 7 Nov 2018 00:49:33 +0100 Subject: Add some dconf configuration --- roles/tools/tasks/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 @@ path: "$XDG_DATA_HOME/pass" src: "$XDG_CONFIG_HOME/ansible/password_store" state: link +- name: dconf configuration + # check: `dconf dump /` or `dconf-editor` + dconf: + key: "{{ item.0 }}" + value: "{{ item.1 }}" + loop: + - ["/org/gnome/evince/default/continuous", "true"] + - ["/org/gnome/evince/default/fullscreen", "true"] + - ["/org/gtk/settings/file-chooser/sort-column", "'name'"] + - ["/org/gtk/settings/file-chooser/show-size-column", "true"] + - ["/org/gtk/settings/file-chooser/show-hidden", "true"] + - ["/org/gtk/settings/file-chooser/location-mode", "'path-bar'"] + - ["/org/gtk/settings/file-chooser/sort-directories-first", "false"] + - ["/org/gtk/settings/file-chooser/sort-order", "'ascending'"] + - ["/org/gtk/settings/file-chooser/startup-mode", "'recent'"] +- name: gtk2 configuration + ini_file: + path: "$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.ini" + section: "Filechooser Settings" + option: "{{ item.0 }}" + value: "{{ item.1 }}" + no_extra_spaces: true + loop: + - [ "SortColumn", "name" ] + - [ "ShowSizeColumn", "true" ] + - [ "ShowHidden", "true" ] + - [ "LocationMode", "path-bar" ] + - [ "SortOrder", "ascending" ] + - [ "StartupMode", "recent" ] + -- cgit v1.2.3