xsession: prepare for use of user systemd to start most services

See:
 - <https://goral.net.pl/post/systemd-x-sessions/>
 - <https://www.lukeshu.com/blog/x11-systemd.html>
This commit is contained in:
Vincent Bernat 2020-01-19 08:08:49 +01:00
parent 846566c70f
commit 0ba52f0e03

View file

@ -20,15 +20,15 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
[ -e ~/.zshenv ] && . ~/.zshenv [ -e ~/.zshenv ] && . ~/.zshenv
systemctl --user import-environment systemctl --user import-environment
systemd-run -q --scope --user tmux start-server
autorandr --change autorandr --change
. ~/.config/awesome/bin/xsettingsd-setup ~/.config/awesome/bin/xsettingsd-setup
~/.config/awesome/bin/compton & ~/.config/awesome/bin/compton &
~/.config/awesome/bin/xss-lock start & ~/.config/awesome/bin/xss-lock start &
xiccd --edid & xiccd --edid &
setxkbmap us setxkbmap us
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null & redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
systemd-run -q --scope --user tmux start-server
exec awesome exec awesome