oae / gnome-shell-extensions-sync

Syncs gnome shell keybindings, tweaks settings and extensions with their configuration across all gnome installations

Home Page:https://extensions.gnome.org/extension/1486/extensions-sync/

Repository from Github https://github.comoae/gnome-shell-extensions-syncRepository from Github https://github.comoae/gnome-shell-extensions-sync

Set Gist ID and token programmatically ?

ljak opened this issue · comments

commented

Could it be possible to set the gist ID and token by command line ? I started to write a script that auto install Gnome Shell Extensions, and if I could set the ID and token in that script, everything could be done during the install.

Thanks! Nice extension by the way.

You can use dconf cli to set the settings.

dconf write /org/gnome/shell/extensions/sync/gist-id "'my-gist-id'"
dconf write /org/gnome/shell/extensions/sync/gist-token "'my-gist-token'"

Just in case anyone like me came here to get this information, the current dconf are now :

/org/gnome/shell/extensions/extensions-sync/github-gist-id
/org/gnome/shell/extensions/extensions-sync/github-user-token
/org/gnome/shell/extensions/extensions-sync/gitlab-snippet-id   
/org/gnome/shell/extensions/extensions-sync/gitlab-user-token