mirror of
https://gitlab.com/slonkazoid/pkgbuild-sway-slonk-git.git
synced 2024-10-18 10:42:30 +03:00
Export XDG_CURRENT_DESKTOP to systemd user environment
Fixes FS#72297
16cfce02f3 (diff-3541d3c6a86145535876a768d6b80512873647ad10eaf0b723f0d39650608983)
This commit is contained in:
parent
0cb8d72fef
commit
a1414cb4e2
3 changed files with 6 additions and 6 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = sway-git
|
||||
pkgdesc = Tiling Wayland compositor and replacement for the i3 window manager
|
||||
pkgver = r6934.251a648e
|
||||
pkgver = r6984.e40eb338
|
||||
pkgrel = 1
|
||||
url = https://swaywm.org
|
||||
install = sway.install
|
||||
|
@ -38,6 +38,6 @@ pkgbase = sway-git
|
|||
source = sway::git+https://github.com/swaywm/sway.git
|
||||
source = 50-systemd-user.conf
|
||||
sha512sums = SKIP
|
||||
sha512sums = 57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e
|
||||
sha512sums = c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137
|
||||
|
||||
pkgname = sway-git
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
# See FS#63021
|
||||
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
|
||||
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||
pkgname=sway-git
|
||||
_pkgname=sway
|
||||
pkgver=r6934.251a648e
|
||||
pkgver=r6984.e40eb338
|
||||
pkgrel=1
|
||||
license=("MIT")
|
||||
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager"
|
||||
|
@ -42,7 +42,7 @@ url="https://swaywm.org"
|
|||
source=("${pkgname%-*}::git+https://github.com/swaywm/sway.git"
|
||||
50-systemd-user.conf)
|
||||
sha512sums=('SKIP'
|
||||
'57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e')
|
||||
'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
|
||||
provides=("sway")
|
||||
conflicts=("sway")
|
||||
options=(debug)
|
||||
|
|
Loading…
Reference in a new issue