Commit graph

4 commits

Author SHA1 Message Date
Vincent Bernat
9b1c564a13 systemd: don't run inputplug in the background
This way, we will get messages during changes in journal.
2020-01-20 09:21:26 +01:00
Vincent Bernat
47368b46dc systemd: remove all [Install] sections
Instead, we explicitely set dependencies in our own
graphical-session@.target.
2020-01-19 20:30:59 +01:00
Vincent Bernat
2e9fa46f2f 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.
2020-01-19 20:28:04 +01:00
Vincent Bernat
ae691bb025 systemd: tentative to manage session with systemd
To me, I think it was cleaner to have a parameter with the current
display. This way, the session is specific to the current display. It
seems BindsTo doesn't think this way.
2020-01-19 19:06:49 +01:00