fix xfce4-hidpi

This commit is contained in:
Daniel Langbein 2021-05-11 17:54:47 +02:00
parent 0f549f233d
commit aff1cd89a5
2 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=xfce4-hidpi
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgver=0.0.2
pkgrel=1
pkgdesc="HiDPI for XFCE4"
arch=('any')
@ -18,7 +18,7 @@ depends=('de-p1st-xfce4')
package() {
cd "${_reponame}/pkg/${pkgname}"
# .install modifies xfconf values
install -Dm0544 xsettings.xml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.holoscript
install -Dm0644 99_hidpi.sh "$pkgdir"/etc/profile.d/99_hidpi.sh
}

View File

@ -0,0 +1,6 @@
#!/bin/sh
# stdin: default config
# stdout: modified config
# Double Windows Scaling Factor
sed 's|<property name="WindowScalingFactor" type="int" value="1"/>|<property name="WindowScalingFactor" type="int" value="2"/>|'