mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix: hidpi missing export
This commit is contained in:
parent
954339b73d
commit
2aea163638
@ -7,7 +7,7 @@ cd "${LOCAL_PKG_DIR}" || exit
|
|||||||
|
|
||||||
match="0"
|
match="0"
|
||||||
for PKG in ./*.pkg.tar.{xz,zst}; do
|
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!
|
# if we are here, there is at least one match!
|
||||||
match="1"
|
match="1"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=theme
|
_pkgname=theme
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.2
|
pkgver=0.0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Uniform look for QT and GTK applications"
|
pkgdesc="Uniform look for QT and GTK applications"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -16,7 +16,6 @@ sha256sums=('SKIP')
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
# Prefix 98 so that it is run before 99_hidpi.sh
|
install -Dm0644 99_qt5_theme.sh "$pkgdir"/etc/profile.d/99_qt5_theme.sh
|
||||||
install -Dm0644 98_qt5_theme.sh "$pkgdir"/etc/profile.d/98_qt5_theme.sh
|
|
||||||
install -Dm0644 Trolltech.conf "$pkgdir"/etc/xdg/Trolltech.conf
|
install -Dm0644 Trolltech.conf "$pkgdir"/etc/xdg/Trolltech.conf
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ aur sync -c adwaita-qt
|
|||||||
Enable via env variable.
|
Enable via env variable.
|
||||||
|
|
||||||
```shell
|
```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
|
## qt4
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
QT_AUTO_SCREEN_SCALE_FACTOR=1
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||||
QT_FONT_DPI=144
|
export QT_FONT_DPI=144
|
||||||
|
3
pkg/de-p1st-xfce4-hidpi/TESTED
Normal file
3
pkg/de-p1st-xfce4-hidpi/TESTED
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
WindowScalingFactor
|
||||||
|
|
||||||
|
TODO: 99_hidpi.sh with an QT application (e.g. NC client)
|
Loading…
Reference in New Issue
Block a user