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 _pkgname=installer
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.1.3 pkgver=0.1.4
pkgrel=2 pkgrel=1
pkgdesc="Bash script to install Arch Linux" pkgdesc="Bash script to install Arch Linux"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"

View File

@ -37,7 +37,7 @@ PACSTRAP_INTERACTIVE=1
# Even though de-p1st-mkinitcpio depends on mkinitcpio, # Even though de-p1st-mkinitcpio depends on mkinitcpio,
# pacstrap will still ask for an provider for initramfs # pacstrap will still ask for an provider for initramfs
# except if we explicitly add mkinitcpio here # 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 # XFCE4 desktop with HiDPI
ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi') ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi')

View File

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