commit 278090b6eb4a7edd458f90ec902cf37196ea8f16
parent 89b9d574c25351178453deba48e4d42d33b24dc5
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sun, 25 Oct 2026 22:12:22 -0400
ttywm: start a session bus when the login screen didn't. flatpak apps like discord need one
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/pkg/ttywm/files/ttywm-session b/tools/pkg/ttywm/files/ttywm-session
@@ -1,4 +1,5 @@
#!/bin/sh
-# what the login screen runs: sound, then ttywm
+# what the login screen runs: a session bus, sound, then ttywm
+[ -n "$DBUS_SESSION_BUS_ADDRESS" ] || exec dbus-run-session "$0" "$@"
pgrep -u "$(id -u)" -x pipewire >/dev/null || pipewire &
exec ttywm
diff --git a/tools/pkg/ttywm/recipe b/tools/pkg/ttywm/recipe
@@ -1,12 +1,12 @@
name=ttywm
version=0.4
-rel=1
+rel=2
desc="Floating window manager that looks like a tty"
url=https://chamesle.org
license="MIT AND GPL-2.0-only"
source=
makedeps="gcc make pkg-config libX11-devel libXft-devel fontconfig-devel"
-depends="xterm rofi"
+depends="xterm rofi dbus"
build() {
make