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