mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 02:04:21 +02:00
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:
parent
e125b64e73
commit
4ce36110d4
3 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
Description=i3 window manager
|
Description=i3 window manager
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
After=xsession.target
|
After=xsession.target
|
||||||
|
Wants=xsession.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/i3
|
ExecStart=/usr/bin/i3
|
||||||
|
|
|
@ -4,7 +4,6 @@ BindsTo=graphical-session.target
|
||||||
Wants=autorandr.service
|
Wants=autorandr.service
|
||||||
Wants=dunst.socket
|
Wants=dunst.socket
|
||||||
Wants=easyeffects.service
|
Wants=easyeffects.service
|
||||||
Wants=i3.service
|
|
||||||
Wants=inputplug.service
|
Wants=inputplug.service
|
||||||
Wants=picom.service
|
Wants=picom.service
|
||||||
Wants=policykit-agent.service
|
Wants=policykit-agent.service
|
||||||
|
|
|
@ -38,4 +38,4 @@ dconf load / < ~/.config/i3/dotfiles/dconf.ini
|
||||||
# Services are started with systemd
|
# Services are started with systemd
|
||||||
systemctl --user import-environment
|
systemctl --user import-environment
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
exec systemctl --user start --wait xsession.target
|
exec systemctl --user start --wait i3.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue