mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-23 20:34:46 +02:00
systemd: create our own graphical-session@.target
graphical-session.target is an existing target for the system. While I don't use several X sessions, I prefer to have each service bound to the right display and therefore, I create my own graphical-session@.target for this purpose. Also, I don't like having to use `systemctl --user enable`, so I enable everything directly in graphical-session@.target. Other dependencies are ordered from awesome@.service. This seems good enough.
This commit is contained in:
parent
ae691bb025
commit
2e9fa46f2f
13 changed files with 30 additions and 15 deletions
14
systemd/graphical-session@.target
Normal file
14
systemd/graphical-session@.target
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Graphical user session for %I
|
||||
StopWhenUnneeded=yes
|
||||
Wants=awesome@%i.service
|
||||
Wants=autorandr@%i.service
|
||||
Wants=compton@%i.service
|
||||
Wants=inputplug@%i.service
|
||||
Wants=misc-x@%i.service
|
||||
Wants=nm-applet@%i.service
|
||||
Wants=policykit-agent@%i.service
|
||||
Wants=redshift@%i.service
|
||||
Wants=xiccd@%i.service
|
||||
Wants=xsettingsd@%i.service
|
||||
Wants=xss-lock@%i.service
|
Loading…
Add table
Add a link
Reference in a new issue