[gnome] Update how we dump dconf
This commit is contained in:
23
bin/.local/bin/dconf_backup.sh
Executable file
23
bin/.local/bin/dconf_backup.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
OUT=gnome/.local/share/custom-gconf.conf
|
||||||
|
: >"$OUT"
|
||||||
|
|
||||||
|
paths=(
|
||||||
|
/org/gnome/desktop/interface/
|
||||||
|
/org/gnome/desktop/input-sources/
|
||||||
|
/org/gnome/desktop/peripherals/
|
||||||
|
/org/gnome/desktop/privacy/
|
||||||
|
/org/gnome/desktop/session/
|
||||||
|
/org/gnome/desktop/wm/
|
||||||
|
/org/gnome/mutter/
|
||||||
|
/org/gnome/settings-daemon/plugins/
|
||||||
|
/org/gnome/shell/extensions/
|
||||||
|
)
|
||||||
|
|
||||||
|
for p in "${paths[@]}"; do
|
||||||
|
echo "# $p" >>"$OUT"
|
||||||
|
dconf dump "$p" >>"$OUT"
|
||||||
|
echo >>"$OUT"
|
||||||
|
done
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user