From aff1cd89a5f565d774e7649ee4ba95883aa4d74d Mon Sep 17 00:00:00 2001 From: langfingaz Date: Tue, 11 May 2021 17:54:47 +0200 Subject: [PATCH] fix xfce4-hidpi --- pkg/de-p1st-xfce4-hidpi/PKGBUILD | 6 +++--- pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript diff --git a/pkg/de-p1st-xfce4-hidpi/PKGBUILD b/pkg/de-p1st-xfce4-hidpi/PKGBUILD index 025f17c..427de87 100644 --- a/pkg/de-p1st-xfce4-hidpi/PKGBUILD +++ b/pkg/de-p1st-xfce4-hidpi/PKGBUILD @@ -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 + install -Dm0644 99_hidpi.sh "$pkgdir"/etc/profile.d/99_hidpi.sh } \ No newline at end of file diff --git a/pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript b/pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript new file mode 100644 index 0000000..96f4b3e --- /dev/null +++ b/pkg/de-p1st-xfce4-hidpi/xsettings.xml.holoscript @@ -0,0 +1,6 @@ +#!/bin/sh +# stdin: default config +# stdout: modified config + +# Double Windows Scaling Factor +sed 's|||'