Skip to content

Commit 34d4521

Browse files
committed
wrap dbus
1 parent 19d6f0f commit 34d4521

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

root/defaults/startwm.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
setterm blank 0
55
setterm powerdown 0
66

7+
# Dbus defaults
8+
export XDG_RUNTIME_DIR="/tmp/xdg-runtime-${PUID}"
9+
mkdir -p -m700 "${XDG_RUNTIME_DIR}"
10+
chown -R "${PUID}:${PGID}" "${XDG_RUNTIME_DIR}"
11+
712
# Start DE
8-
/usr/bin/i3 > /dev/null 2>&1
13+
exec dbus-launch --exit-with-session /usr/bin/i3 > /dev/null 2>&1

0 commit comments

Comments
 (0)