From 87155fb9db8bcf5fa6019009eb5e3b5a196f1d9e Mon Sep 17 00:00:00 2001 From: laptop Date: Fri, 3 Nov 2023 23:03:50 +0300 Subject: [PATCH] bash : dconf_load now swaps voronind for current user. --- .linux/bash/module/dconf.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.linux/bash/module/dconf.sh b/.linux/bash/module/dconf.sh index f32c884..fea84a1 100644 --- a/.linux/bash/module/dconf.sh +++ b/.linux/bash/module/dconf.sh @@ -1,2 +1,4 @@ -alias dconf_load="dconf load / < $HOME/.linux/gnome.dconf" # load gnome settings. -alias dconf_save="dconf dump / > $HOME/.linux/_gnome.dconf" # dump gnome settings to a file. +_GDCONF_PATH="${HOME}/.linux/gnome.dconf" + +alias dconf_load="sed -i -e s/voronind/$(whoami)/g ${_GDCONF_PATH} ; dconf load / < ${_GDCONF_PATH}" # load gnome settings. +alias dconf_save="dconf dump / > ${_GDCONF_PATH}" # dump gnome settings to a file.