Skip to content

Commit

Permalink
chore(oomox_plugin; change_color; pkgbuild): remove qt5ct and qt6ct f…
Browse files Browse the repository at this point in the history
…rom the export as it have been moved to base16 export plugin
  • Loading branch information
actionless committed Jul 12, 2024
1 parent 30bba1b commit 7108790
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 36 deletions.
17 changes: 0 additions & 17 deletions change_color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ PATHLIST=(
'./src/unity'
'Makefile'
'./src/index.theme'
'./src/qt5ct_palette.conf'
'./src/qt6ct_palette.conf'
'./src/cinnamon'
)
if [ -n "${CUSTOM_PATHLIST:-}" ] ; then
Expand All @@ -102,14 +100,9 @@ SVG_PREVIEWS=(
)

MAKE_GTK3=0
EXPORT_QT5CT=0
for FILEPATH in "${PATHLIST[@]}"; do
if [[ ${FILEPATH} == *Makefile* ]] ;then
MAKE_GTK3=1
elif [[ ${FILEPATH} == *qt5ct* ]] ;then
EXPORT_QT5CT=1
elif [[ ${FILEPATH} == *qt6ct* ]] ;then
EXPORT_QT6CT=1
fi
done
MAKE_OPTS="${MAKE_OPTS-all}"
Expand Down Expand Up @@ -288,16 +281,6 @@ config_home=${XDG_CONFIG_HOME:-}
if [[ -z "${config_home}" ]] ; then
config_home="${HOME}/.config"
fi
if [[ ${EXPORT_QT5CT} = 1 ]] ; then
qt5ct_colors_dir="${config_home}/qt5ct/colors/"
test -d "${qt5ct_colors_dir}" || mkdir -p "${qt5ct_colors_dir}"
mv ./qt5ct_palette.conf "${qt5ct_colors_dir}/${OUTPUT_THEME_NAME}.conf"
fi
if [[ ${EXPORT_QT6CT} = 1 ]] ; then
qt6ct_colors_dir="${config_home}/qt6ct/colors/"
test -d "${qt6ct_colors_dir}" || mkdir -p "${qt6ct_colors_dir}"
mv ./qt6ct_palette.conf "${qt6ct_colors_dir}/${OUTPUT_THEME_NAME}.conf"
fi

rm -fr ./Makefile gtk-3.*/scss

Expand Down
6 changes: 4 additions & 2 deletions oomox_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ class Plugin(OomoxThemePlugin):
name = "oomox"
display_name = "Oomox"
description = (
"GTK+2, GTK+3, Qt5ct, Qt6ct\n"
"Cinnamon, Metacity, Openbox, Unity, Xfwm"
"GTK+2, GTK+3, Cinnamon, Metacity,\n"
"Openbox, Unity, Xfwm\n"
"(GTK+4, Qt5ct, Qt6ct and others have been moved"
"to Base16 Export Plugin)"
)
about_text = translate("The default theme, originally based on Numix GTK theme.")
about_links = [
Expand Down
4 changes: 2 additions & 2 deletions packaging/arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pkgname="${_pkgname}-git"
pkgver=1.12.7
pkgrel=1
pkgdesc="Oomox theme plugin
(GTK2, GTK3, Cinnamon, Metacity, Openbox, Qt5ct, Qt6ct, Unity, Xfwm) for Themix GUI designer.
Have a hack for HiDPI in GTK2."
(GTK2, GTK3, Cinnamon, Metacity, Openbox, Unity, Xfwm) for Themix GUI designer.
Have a hack for HiDPI in GTK2." # Qt5ct and Qt6ct have been moved to Themix Base16 Export Plugin
arch=('x86_64' 'i686')
url="https://github.com/themix-project/oomox-gtk-theme"
license=('GPL3')
Expand Down
10 changes: 0 additions & 10 deletions src/qt5ct_palette.conf

This file was deleted.

5 changes: 0 additions & 5 deletions src/qt6ct_palette.conf

This file was deleted.

0 comments on commit 7108790

Please sign in to comment.