xfce4: show icons on primary desktop

This commit is contained in:
Daniel Langbein 2021-05-11 17:13:04 +02:00
parent e86615d5e9
commit d649d0bd61
3 changed files with 29 additions and 15 deletions

View File

@ -0,0 +1,10 @@
## arg 1: the new package version
post_install() {
systemctl preset-all
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
systemctl preset-all
}

View File

@ -2,18 +2,22 @@
_pkgname=xfce4 _pkgname=xfce4
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.2 pkgver=0.0.3
pkgrel=1 pkgrel=1
pkgdesc="XFCE4 with configuration" pkgdesc="XFCE4 with configuration"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT') license=('MIT')
makedepends=('git')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
depends=() depends=()
# ============== base, drivers and xorg ============== # ============== base, drivers and xorg ==============
depends+=('de-p1st-base-efi') depends+=('de-p1st-base')
depends+=('de-p1st-gpu') depends+=('de-p1st-gpu')
depends+=('xorg-meta') depends+=('xorg-meta')
@ -53,24 +57,17 @@ depends+=(de-p1st-theme)
depends+=(de-p1st-keyboard-x11) depends+=(de-p1st-keyboard-x11)
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
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
# xfconf-query --create -c xfce4-desktop -p /desktop-icons/primary -t 'bool' -s 'true' || exit $?
# -> holo
# TODO: test the below
install -Dm0644 xfce4-desktop.xml /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
install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="desktop-icons" type="empty">
<property name="primary" type="bool" value="true"/>
</property>
</channel>