chore: updated pacman hook

This commit is contained in:
cilgin 2025-09-29 20:11:22 +03:00
parent f88af79ee2
commit 241eac3bd0
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = vicinae
pkgdesc = A focused launcher for your desktop — native, fast, extensible
pkgver = 0.13.3
pkgrel = 1
pkgrel = 2
url = https://github.com/vicinaehq/vicinae
arch = x86_64
license = GPL3
@ -26,6 +26,6 @@ pkgbase = vicinae
source = vicinae.hook
sha256sums = 144e335d4d8cac31f452d48616535f8b7303f531a627dffa8dcccd8229e0f688
sha256sums = c1f3ae0d87b8f0cd393c5fe5007eb5894ca029945627b77a3774f4244e35e14c
sha256sums = 13d44abe60c20667b90c2bbca4f8ad1e4c39f8c6ace697807c8c397d68037894
sha256sums = 870f29cb68436deaaed2b87dff89bc753afdef8dcbfd1ec35c070bc39efe10a5
pkgname = vicinae

View file

@ -3,7 +3,7 @@
pkgname=vicinae
pkgver=0.13.3
pkgrel=1
pkgrel=2
pkgdesc="A focused launcher for your desktop — native, fast, extensible"
arch=('x86_64')
url="https://github.com/vicinaehq/vicinae"
@ -36,7 +36,7 @@ source=(
sha256sums=('144e335d4d8cac31f452d48616535f8b7303f531a627dffa8dcccd8229e0f688'
'c1f3ae0d87b8f0cd393c5fe5007eb5894ca029945627b77a3774f4244e35e14c'
'13d44abe60c20667b90c2bbca4f8ad1e4c39f8c6ace697807c8c397d68037894')
'870f29cb68436deaaed2b87dff89bc753afdef8dcbfd1ec35c070bc39efe10a5')
build() {
SHA=$(jq .object.sha "${pkgname}-v${pkgver}-meta.yml" -r)

View file

@ -6,4 +6,4 @@ Target = vicinae
[Action]
Description = Restarting vicinae.service as a user unit if enabled/active...
When = PostTransaction
Exec = /usr/bin/bash -c '/usr/bin/loginctl list-users --no-legend | /usr/bin/awk "{print \$2}" | /usr/bin/xargs -I {} /usr/bin/runuser -u {} -- sh -c "/usr/bin/systemctl --user is-enabled --quiet vicinae.service && /usr/bin/systemctl --user restart vicinae.service"'
Exec = /usr/bin/bash -c '/usr/bin/loginctl list-users --no-legend | /usr/bin/awk "{print \$2}" | /usr/bin/xargs -I {} /usr/bin/runuser -u {} -- sh -c "/usr/bin/systemctl --user is-enabled vicinae.service && /usr/bin/systemctl --user restart vicinae.service"' || true