dconf-write

Write a value to a dconf database path.

TLDR

Write a string to a dconf path (note the nested quotes)

$ dconf write [/example/dconf/path] "'[Example Value]'"
copy


Write a boolean to a dconf path
$ dconf write [/example/dconf/path] [true|false]
copy


Write an integer to a dconf path
$ dconf write [/example/dconf/path] [16]
copy


Write an array to a dconf path
$ dconf write [/example/dconf/path] "[['My First Value', 'My Second Value']]"
copy


Write an empty array to a dconf path
$ dconf write [/example/dconf/path] "@as []"
copy

Copied to clipboard