mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
xfce4: show icons on primary desktop
This commit is contained in:
parent
e86615d5e9
commit
d649d0bd61
10
pkg/de-p1st-xfce4/.install
Normal file
10
pkg/de-p1st-xfce4/.install
Normal 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
|
||||
}
|
@ -2,18 +2,22 @@
|
||||
_pkgname=xfce4
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.2
|
||||
pkgver=0.0.3
|
||||
pkgrel=1
|
||||
pkgdesc="XFCE4 with configuration"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
license=('MIT')
|
||||
makedepends=('git')
|
||||
install='.install'
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
depends=()
|
||||
|
||||
# ============== base, drivers and xorg ==============
|
||||
depends+=('de-p1st-base-efi')
|
||||
depends+=('de-p1st-base')
|
||||
depends+=('de-p1st-gpu')
|
||||
depends+=('xorg-meta')
|
||||
|
||||
@ -53,24 +57,17 @@ depends+=(de-p1st-theme)
|
||||
depends+=(de-p1st-keyboard-x11)
|
||||
|
||||
|
||||
makedepends=('git')
|
||||
|
||||
provides=()
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
changelog=
|
||||
source=("git+${url}.git")
|
||||
noextract=()
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
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 ===
|
||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||
install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf
|
||||
|
7
pkg/de-p1st-xfce4/xfce4-desktop.xml
Normal file
7
pkg/de-p1st-xfce4/xfce4-desktop.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user