fix xfce4 custom settings

This commit is contained in:
Daniel Langbein 2021-05-14 15:12:23 +02:00
parent f666a3abc6
commit db6dc4e7e3
3 changed files with 9 additions and 10 deletions

View File

@ -2,8 +2,8 @@
_pkgname=installer
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.1.3
pkgrel=2
pkgver=0.1.4
pkgrel=1
pkgdesc="Bash script to install Arch Linux"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"

View File

@ -37,7 +37,7 @@ PACSTRAP_INTERACTIVE=1
# Even though de-p1st-mkinitcpio depends on mkinitcpio,
# pacstrap will still ask for an provider for initramfs
# except if we explicitly add mkinitcpio here
ADDITIONAL_PKGS=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder')
ADDITIONAL_PKGS=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'virtualbox-guest-utils')
# XFCE4 desktop with HiDPI
ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi')

View File

@ -2,7 +2,7 @@
_pkgname=xfce4
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.7
pkgver=0.0.8
pkgrel=1
pkgdesc="XFCE4 with configuration"
arch=('any')
@ -68,11 +68,10 @@ package() {
install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face
# TODO
# xfconf-query --create -c xfce4-desktop -p /desktop-icons/primary -t 'bool' -s 'true' || exit $?
# -> holo
# TODO: test the below
install -Dm0644 -o0 xfce4-desktop.xml "$pkgdir"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
# Adding the xml to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml does not work
# (it will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/)
# Thus we place it in the skeleton for new users
install -Dm0644 xfce4-desktop.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
# === display manager ===
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset