Update for gtksourceview themes

pull/214/head
xelser 4 months ago
parent f430035eb5
commit 335bee07bf
  1. 7
      install.sh
  2. 0
      src/extra/gtksourceview/README.md
  3. 0
      src/extra/gtksourceview/matcha.xml
  4. 0
      src/extra/gtksourceview/matchav2.xml

@ -6,8 +6,10 @@ DEST_DIR=
# Destination directory
if [ "$UID" -eq "$ROOT_UID" ]; then
DEST_DIR="/usr/share/themes"
GTKSV_DIR="/usr/share/gtksourceview-3.0/styles"
else
DEST_DIR="$HOME/.themes"
GTKSV_DIR="$HOME/.local/share/gtksourceview-3.0/styles"
fi
REO_DIR="$(cd $(dirname "$0") && pwd)"
@ -175,6 +177,11 @@ install() {
mkdir -p "${themedir}/plank"
cd "${SRC_DIR}"
cp -r plank "${themedir}"
# Install GTKSourceView-3.0 Theme (for gtk+ text editors)
mkdir -p "${GTKSV_DIR}/"
cd "${SRC_DIR}/extra/gtksourceview"
cp -r *.xml "${GTKSV_DIR}/"
}
# Backup and install files related to GDM theme

Loading…
Cancel
Save