diff --git a/pkg/de-p1st-repo/iterate-files-test.sh b/pkg/de-p1st-repo/iterate-files-test.sh index a67c129..bd15ead 100644 --- a/pkg/de-p1st-repo/iterate-files-test.sh +++ b/pkg/de-p1st-repo/iterate-files-test.sh @@ -7,7 +7,7 @@ cd "${LOCAL_PKG_DIR}" || exit match="0" for PKG in ./*.pkg.tar.{xz,zst}; do - [ -f "$PKG" ] || { echo "No match for pattern $PKG"; continue; } + [ -f "$PKG" ] || { echo "No match for pattern $PKG"; continue; } # alternatively: shopt -s nullglob # if we are here, there is at least one match! match="1" diff --git a/pkg/de-p1st-theme/98_qt5_theme.sh b/pkg/de-p1st-theme/99_qt5_theme.sh similarity index 100% rename from pkg/de-p1st-theme/98_qt5_theme.sh rename to pkg/de-p1st-theme/99_qt5_theme.sh diff --git a/pkg/de-p1st-theme/PKGBUILD b/pkg/de-p1st-theme/PKGBUILD index 1ea8472..6787806 100644 --- a/pkg/de-p1st-theme/PKGBUILD +++ b/pkg/de-p1st-theme/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=theme _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.2 +pkgver=0.0.3 pkgrel=1 pkgdesc="Uniform look for QT and GTK applications" arch=('any') @@ -16,7 +16,6 @@ sha256sums=('SKIP') package() { cd "${_reponame}/pkg/${pkgname}" - # Prefix 98 so that it is run before 99_hidpi.sh - install -Dm0644 98_qt5_theme.sh "$pkgdir"/etc/profile.d/98_qt5_theme.sh + install -Dm0644 99_qt5_theme.sh "$pkgdir"/etc/profile.d/99_qt5_theme.sh install -Dm0644 Trolltech.conf "$pkgdir"/etc/xdg/Trolltech.conf } diff --git a/pkg/de-p1st-theme/README.md b/pkg/de-p1st-theme/README.md index 90c1660..0f20896 100644 --- a/pkg/de-p1st-theme/README.md +++ b/pkg/de-p1st-theme/README.md @@ -17,7 +17,7 @@ aur sync -c adwaita-qt Enable via env variable. ```shell -echo 'export QT_STYLE_OVERRIDE=adwaita' | sudo tee -a /etc/profile.d/98_qt5_theme.sh +echo 'export QT_STYLE_OVERRIDE=adwaita' | sudo tee -a /etc/profile.d/99_qt5_theme.sh ``` ## qt4 diff --git a/pkg/de-p1st-xfce4-hidpi/99_hidpi.sh b/pkg/de-p1st-xfce4-hidpi/99_hidpi.sh index e58035a..181e186 100644 --- a/pkg/de-p1st-xfce4-hidpi/99_hidpi.sh +++ b/pkg/de-p1st-xfce4-hidpi/99_hidpi.sh @@ -1,2 +1,2 @@ -QT_AUTO_SCREEN_SCALE_FACTOR=1 -QT_FONT_DPI=144 +export QT_AUTO_SCREEN_SCALE_FACTOR=1 +export QT_FONT_DPI=144 diff --git a/pkg/de-p1st-xfce4-hidpi/TESTED b/pkg/de-p1st-xfce4-hidpi/TESTED new file mode 100644 index 0000000..4e9bb9f --- /dev/null +++ b/pkg/de-p1st-xfce4-hidpi/TESTED @@ -0,0 +1,3 @@ +WindowScalingFactor + +TODO: 99_hidpi.sh with an QT application (e.g. NC client) \ No newline at end of file