Package Details: sway-systemd 0.4.0-1

Git Clone URL: https://aur.archlinux.org/sway-systemd.git (read-only, click to copy)
Package Base: sway-systemd
Description: Systemd integration for Sway session
Upstream URL: https://github.com/alebastr/sway-systemd
Keywords: cgroup cgroups environment systemd
Licenses: custom:MIT
Conflicts: sway-services-git
Submitter: Scrumplex
Maintainer: fmauNeko
Last Packager: fmauNeko
Votes: 8
Popularity: 0.54
First Submitted: 2021-10-26 08:25 (UTC)
Last Updated: 2023-07-20 06:27 (UTC)

Latest Comments

OJFord commented on 2023-08-02 21:35 (UTC)

+1, that's breaking my layout too (just took me longer to track it down!)

It seems all the autoload does is store some sway configs in /etc/sway/config.d - I'd suggest copying them to /usr/share/sway-systemd instead say, so they can be linked in to the former or not according to users' preferences, some people might want the config from localectl after all.

Alghazanth commented on 2023-07-23 19:39 (UTC)

Script locale1-xkb-config breaks layout switching in Sway and thus should be disabled by default as said by developer.

itaranto commented on 2023-05-21 22:32 (UTC)

Hey! Here's a patch which contains:

  • Remove unnecessary whitespace.
  • Replace $var with ${var}, which is safer.
diff --git a/PKGBUILD b/PKGBUILD
index a70bd38..4e14da2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,28 +13,22 @@ conflicts=("sway-services-git")
 source=("sway-systemd::git+https://github.com/alebastr/sway-systemd.git#tag=v${pkgver}")
 sha512sums=('SKIP')

-
 build() {
-
     arch-meson \
         -Dautostart=true \
         -Dcgroups=enabled \
         -Dlocale1=true \
-        "$srcdir/${pkgname%-git}" build
+        "${srcdir}/${pkgname%-git}" build
     ninja -C build
 }

 check() {
-
     ninja -C build test
 }

 package() {
-
-    DESTDIR="$pkgdir" ninja -C build install
-
-    cd "$srcdir/${pkgname%-git}"
-
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-    install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md"
+    DESTDIR="${pkgdir}" ninja -C build install
+    cd "${srcdir}/${pkgname%-git}"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md"
 }