|
|
@ -193,6 +193,13 @@ if [[ ! -f $HOME/.config/goldendict/config ]] || ! grep -q "path.*/usr/share/gol |
|
|
|
cp "$BASEDIR/lib/goldendict/config" "$HOME/.config/goldendict/" |
|
|
|
nohup goldendict & |
|
|
|
fi |
|
|
|
if [[ ! -f $HOME/.config/autostart/org.goldendict.GoldenDict.desktop ]]; then |
|
|
|
echo -n "autostart GoldenDict ..." |
|
|
|
ln -sf /usr/share/applications/org.goldendict.GoldenDict.desktop $HOME/.config/autostart/ |
|
|
|
echo OK |
|
|
|
else |
|
|
|
echo "autostart GoldenDict already installed!" |
|
|
|
fi |
|
|
|
|
|
|
|
echo "## gnome-extensions-cli" |
|
|
|
echo "=======================" |
|
|
@ -212,15 +219,20 @@ EXTENSIONS=( |
|
|
|
"network-stats@gnome.noroadsleft.xyz" |
|
|
|
) |
|
|
|
|
|
|
|
compile_schemas_needed=false |
|
|
|
for extension in "${EXTENSIONS[@]}"; do |
|
|
|
if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]]; then |
|
|
|
"$HOME/.local/bin/gext" install "$extension" |
|
|
|
sudo cp "$HOME"/.local/share/gnome-shell/extensions/"$extension"/schemas/*.gschema.xml /usr/share/glib-2.0/schemas/ |
|
|
|
compile_schemas_needed=true |
|
|
|
|
|
|
|
else |
|
|
|
echo "extension <${extension}> already installed!" |
|
|
|
fi |
|
|
|
done |
|
|
|
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ |
|
|
|
if "$compile_schemas_needed"; then |
|
|
|
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ |
|
|
|
fi |
|
|
|
|
|
|
|
echo "# gnome extra settings" |
|
|
|
echo "======================" |
|
|
|