mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix xfce4-hidpi
This commit is contained in:
parent
0f549f233d
commit
aff1cd89a5
@ -2,7 +2,7 @@
|
|||||||
_pkgname=xfce4-hidpi
|
_pkgname=xfce4-hidpi
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.1
|
pkgver=0.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="HiDPI for XFCE4"
|
pkgdesc="HiDPI for XFCE4"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -18,7 +18,7 @@ depends=('de-p1st-xfce4')
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
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
|
install -Dm0644 99_hidpi.sh "$pkgdir"/etc/profile.d/99_hidpi.sh
|
||||||
}
|
}
|
6
pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript
Normal file
6
pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript
Normal 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"/>|'
|
Loading…
Reference in New Issue
Block a user