blob: fda4289a2e527b0cda543db8b999722f65c4b286 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
exec >~/.niri.log 2>&1
export QT_QPA_PLATFORM=wayland
if [ "$(ps -p 1 -o comm=)" = "systemd" ]; then
exec niri-session
elif [ -n "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec niri --session
else
exec dbus-run-session -- niri --session
fi
|