summaryrefslogtreecommitdiff
path: root/xorg/50-systemd-user.sh
blob: 1ad47040875f59f777012e042d66a45450623c92 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

PATH=/bin:/usr/bin:/sbin:/usr/sbin

systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment >/dev/null 2>&1; then
    dbus-update-activation-environment DISPLAY XAUTHORITY
fi