xfce4: improved package()

This commit is contained in:
Daniel Langbein 2021-05-24 17:27:37 +02:00
parent fb391b71e5
commit 44bb2ade96
2 changed files with 11 additions and 9 deletions

View File

@ -2,7 +2,7 @@
_pkgname=xfce4
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.13
pkgver=0.0.14
pkgrel=1
pkgdesc="XFCE4 with configuration"
arch=('any')
@ -73,15 +73,15 @@ package() {
# Thus we place it in the skeleton for new users!
# === higher screen resolution in a VM ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/displays.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
# config/xfce4/xfconf/xfce4-perchannel-xml/displays.xml
# === desktop and workspaces ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-desktop.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
# config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-desktop.xml
# === panel ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-panel.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
install -Dm0644 config/xfce4/panel/launcher-8/16218680691.desktop "$pkgdir"/etc/skel/.config/xfce4/panel/launcher-8/16218680691.desktop
# config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-panel.xml
# config/xfce4/panel/launcher-8/16218680691.desktop
#
mkdir -p "$pkgdir"/etc/skel/
cp -ra config "$pkgdir"/etc/skel/.config
# === display manager ===
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset

View File

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Changes from default panel configuration:
* Add Whisker-Menu to the left; remove Applications Menu from left; remove user from the right;
* Remove lower panel (panel number 2)
* Add Whisker-Menu to the left
* Add launcher "screenshot" to the right (this requires the folder .config/xfce4/panel/launcher-8/)
* Remove Applications Menu from left; remove user from the right;
-->
<channel name="xfce4-panel" version="1.0">