mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +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
|
||||
PartOf=graphical-session.target
|
||||
After=xsession.target
|
||||
Wants=xsession.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/i3
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue