]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Add some dconf configuration
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Tue, 6 Nov 2018 23:49:33 +0000 (00:49 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Thu, 8 Nov 2018 08:46:46 +0000 (09:46 +0100)
roles/tools/tasks/main.yml

index 70bba9d295b738f845ea975b8f35e844ff6d5031..748bd77d181812437560b63e1791c8d5a97a2242 100644 (file)
     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" ]
+