mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 18:34:48 +00:00
837 B
Vendored
837 B
Vendored
Manage dconf settings
Here is an example (thanks @gmvelencoso) using dotdrop to manage dconf settings:
actions:
dconf_load: dconf load "{0}" < "{{@@ _dotfile_abs_src @@}}"
trans_update:
dconf_dump: dconf dump "{2}" > "{1}"
dconf_tilix:
src: config/tilix/tilix.dconf
dst: /tmp/tilix.dconf
actions:
- dconf_load /com/gexperts/Tilix/
trans_update: dconf_dump /com/gexperts/Tilix/
link: nolink
On install/compare, the action dconf_load will call dconf to load
the configuration from the file stored in the dotpath under config/tilix/tilix.dconf.
On update, the transformation trans_update will dump the configuration
entry and use it to update the file in the dotpath.