xsession: target i3.service and adapt dependencies

I think this is cleaner to make i3 the pivot. Also, don't make i3
restart i3-session each time it starts.
This commit is contained in:
Vincent Bernat 2021-08-01 11:56:27 +02:00
parent e125b64e73
commit 4ce36110d4
3 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,7 @@
Description=i3 window manager
PartOf=graphical-session.target
After=xsession.target
Wants=xsession.target
[Service]
ExecStart=/usr/bin/i3

View file

@ -4,7 +4,6 @@ BindsTo=graphical-session.target
Wants=autorandr.service
Wants=dunst.socket
Wants=easyeffects.service
Wants=i3.service
Wants=inputplug.service
Wants=picom.service
Wants=policykit-agent.service

View file

@ -38,4 +38,4 @@ dconf load / < ~/.config/i3/dotfiles/dconf.ini
# Services are started with systemd
systemctl --user import-environment
systemctl --user daemon-reload
exec systemctl --user start --wait xsession.target
exec systemctl --user start --wait i3.service