Commit | Line | Data |
---|---|---|
d6c84e8b SK |
1 | #! /bin/bash |
2 | ||
3 | set -e | |
4 | ||
5 | if which systemd; then | |
6 | opt_systemd='--systemd' | |
7 | else | |
8 | opt_systemd='' | |
9 | fi | |
10 | ||
11 | dbus-update-activation-environment $opt_systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY | |
6db09847 | 12 | exec dbus-launch --sh-syntax --exit-with-session ~/.xlaunch startx |