rm XCURSOR_SIZE env import; add --systemd to dbus env activate

ledoian
Brett Cornwall 5 years ago
parent f704940d8c
commit 0e0461ee54

@ -2,6 +2,6 @@
# See FS#63021 # See FS#63021
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal. # Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \ exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK

@ -4,7 +4,7 @@
pkgname=sway pkgname=sway
pkgver=1.4 pkgver=1.4
epoch=1 epoch=1
pkgrel=3 pkgrel=4
pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager' pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
arch=(x86_64) arch=(x86_64)
url='https://swaywm.org/' url='https://swaywm.org/'
@ -30,7 +30,7 @@ source=("https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.t
"50-systemd-user.conf") "50-systemd-user.conf")
sha512sums=('3b280bdfdbdae8fb9b4f555bc630c64e7c1d09f7b2c783b99413863a6b620d50cd2b6d10d63e11fdfb9c678fce9a403228ac52fa69fb52561ffbd06790505a71' sha512sums=('3b280bdfdbdae8fb9b4f555bc630c64e7c1d09f7b2c783b99413863a6b620d50cd2b6d10d63e11fdfb9c678fce9a403228ac52fa69fb52561ffbd06790505a71'
'SKIP' 'SKIP'
'6314b7e4053c33f46d6f33c85fb34a0287286ad943438bad9c69ef32d328f848d03293ca93cb07a3ec97b77ee62b6c404f97ebf2ce60cdf9f6ba118d95666979') '57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e')
validpgpkeys=('9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault validpgpkeys=('9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
prepare() { prepare() {

Loading…
Cancel
Save