Commit graph

5 commits

Author SHA1 Message Date
Vincent Bernat
7163d9fa82 redshift: fix location 2020-01-21 07:06:30 +01:00
Vincent Bernat
89a830a67e redshift: use new syntax for location
At some point, geoclue2 could be used instead.
2020-01-19 22:28:55 +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