Use persistent systemd units for autostart

This commit is contained in:
2020-12-20 20:36:27 +01:00
parent f4fbae6683
commit 0f36baf30c
31 changed files with 194 additions and 182 deletions

View File

@@ -55,6 +55,9 @@ umask 0022
export {{ k }}="{{ v }}"
{% endfor %}
# Make all environment variables also usable in the systemd user instancee
systemctl --user import-environment
# exec startx breaks some logind fuckery, without exec it works
if [[ -z $DISPLAY ]] ; then
if (( $XDG_VTNR == {{ user.vt }} )) ; then