summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Guikal2022-04-03 14:59:48 -0400
committerSteven Guikal2022-04-03 15:03:24 -0400
commit11f8754c3970582f71cb063a0321aad4b7c67841 (patch)
tree50cedc9aec358999f425f7fdc3d6311c1f90d13d
parenta5bc3b9a34480855dd0e5e3210999d686067feb5 (diff)
downloadaur-11f8754c3970582f71cb063a0321aad4b7c67841.tar.gz
Update systemd user config to match upstream
-rw-r--r--.SRCINFO2
-rw-r--r--50-systemd-user.conf4
-rw-r--r--PKGBUILD2
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed7e5ec87efd..224e9614e178 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -37,7 +37,7 @@ pkgbase = sway-borders-git
source = sway-borders::git+https://github.com/fluix-dev/sway-borders.git
source = 50-systemd-user.conf
sha512sums = SKIP
- sha512sums = 57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e
+ sha512sums = c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137
pkgname = sway-borders-git
diff --git a/50-systemd-user.conf b/50-systemd-user.conf
index 72e5dcd98b02..d75ccdb2adbd 100644
--- a/50-systemd-user.conf
+++ b/50-systemd-user.conf
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c5f1552a3625..4aeeff06963e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,7 +42,7 @@ url="https://github.com/fluix-dev/sway-borders"
source=("${pkgname%-*}::git+https://github.com/fluix-dev/sway-borders.git"
"50-systemd-user.conf")
sha512sums=('SKIP'
- '57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e')
+ 'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
provides=("sway")
conflicts=("sway")
options=(debug)