Compare commits

..

No commits in common. "master" and "1.3.0" have entirely different histories.

10 changed files with 14 additions and 130 deletions

View file

@ -1,32 +1,23 @@
# Maintainer: Eric Renfro <psi-jack@linux-help.org> # Maintainer: Eric Renfro <psi-jack@linux-help.org>
_pkgbase=xfce-session-target pkgname=xfce-session-systemd
pkgname=${_pkgbase}-git
pkgdesc='systemd Integration for xfce-session' pkgdesc='systemd Integration for xfce-session'
pkgver=1.3.1 pkgver=1.3
pkgrel=1 pkgrel=2
arch=('any') arch=('any')
url="https://git.linux-help.org/infusix/${_pkgbase}" url="https://git.linux-help.org/infusix/$pkgname"
license=('GPL') license=('GPL')
makedepends=('coreutils' 'git') makedepends=('coreutils')
source=("${_pkgbase}::git+https://git.linux-help.org/infusix/${_pkgbase}.git") source=("$pkgname-v$pkgver.tar.gz::$url/archive/$pkgname-v$pkgver.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
depends=('xfce4-session' 'systemd') depends=('xfce4-session')
#install=${_pkgbase}.install install=$pkgname.install
pkgver() {
cd "${srcdir}/${_pkgbase}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() { package() {
install -d ${pkgdir}/usr/lib/xfce4/session install -d $pkgdir/usr/lib/xfce4/session
install -d ${pkgdir}/usr/lib/systemd/user install -d $pkgdir/usr/lib/systemd/user
install -d ${pkgdir}/etc/xdg/autostart install -d $pkgdir/etc/xdg/autostart
install -d ${pkgdir}/usr/share/doc/${pkgname} cp -f $srcdir/$pkgname/src/*.sh $pkgdir/usr/lib/xfce4/session/
cp -f ${srcdir}/${_pkgbase}/src/*.sh ${pkgdir}/usr/lib/xfce4/session/ cp -f $srcdir/$pkgname/src/*.target $pkgdir/usr/lib/systemd/user/
cp -f ${srcdir}/${_pkgbase}/src/*.target ${pkgdir}/usr/lib/systemd/user/ cp -f $srcdir/$pkgname/src/*.desktop $pkgdir/etc/xdg/autostart/
cp -f ${srcdir}/${_pkgbase}/src/*.desktop ${pkgdir}/etc/xdg/autostart/
cp -f ${srcdir}/${_pkgbase}/README $srcdir/${_pkgbase}/LICENSE ${pkgdir}/usr/share/doc/$pkgname/
cp -fR ${srcdir}/${_pkgbase}/examples ${pkgdir}/usr/share/doc/${pkgname}/
} }

View file

@ -1,13 +0,0 @@
[Unit]
Description=Barrier Service
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/barrier
[Install]
WantedBy=graphical-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Bitwarden
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/bitwarden-desktop
[Install]
WantedBy=graphical-session.target

View file

@ -1,14 +0,0 @@
[Unit]
Description=devilspie2 Service
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 3
ExecStart=/usr/bin/devilspie2 -d
[Install]
WantedBy=xfce-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Flameshot
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/flameshot
[Install]
WantedBy=graphical-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Kalu Update Notifications
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/kalu
[Install]
WantedBy=graphical-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Nextcloud Client
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 15
ExecStart=/usr/bin/nextcloud
[Install]
WantedBy=graphical-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Picom Compositor
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 2
ExecStart=/usr/bin/picom
[Install]
WantedBy=xfce-session.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=Vorta Backup
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 15
ExecStart=/usr/bin/vorta
[Install]
WantedBy=graphical-session.target

View file

@ -5,8 +5,6 @@ then
if ! systemctl --user is-active xfce-session.target &> /dev/null if ! systemctl --user is-active xfce-session.target &> /dev/null
then then
/bin/systemctl --user import-environment DISPLAY XAUTHORITY XDG_CONFIG_DIRS XDG_CURRENT_DESKTOP XDG_DATA_DIRS XDG_GREETER_DATA_DIR XDG_MENU_PREFIX XDG_RUNTIME_DIR XDG_SEAT XDG_SEAT_PATH XDG_SESSION_CLASS XDG_SESSION_DESKTOP XDG_SESSION_ID XDG_SESSION_PATH XDG_SESSION_TYPE XDG_VTNR /bin/systemctl --user import-environment DISPLAY XAUTHORITY XDG_CONFIG_DIRS XDG_CURRENT_DESKTOP XDG_DATA_DIRS XDG_GREETER_DATA_DIR XDG_MENU_PREFIX XDG_RUNTIME_DIR XDG_SEAT XDG_SEAT_PATH XDG_SESSION_CLASS XDG_SESSION_DESKTOP XDG_SESSION_ID XDG_SESSION_PATH XDG_SESSION_TYPE XDG_VTNR
# We need all the xinitrc environment for our session, so might as well bring it all in:
/usr/bin/dbus-update-activation-environment --systemd --all
/bin/systemctl --user start xfce-session.target /bin/systemctl --user start xfce-session.target
fi fi
elif [[ "$1" == "logout" ]] elif [[ "$1" == "logout" ]]