Robert Helgesson
4c85ff7ff2
xsession: rename graphical session target name
...
The `he` in `he-graphical-session` doesn't make much sense, change it
to `hm` for Home Manager.
2017-06-29 00:24:29 +02:00
Robert Helgesson
9c17c5ccbb
Clean up systemd units for all graphical services
2017-06-26 18:42:27 +02:00
Robert Helgesson
acf8d4e985
xsession: use systemd graphical targets
...
The systemd targets don't allow direct startup so we create our own
target for graphical sessions managed by Home Environment.
2017-06-26 18:31:55 +02:00
Robert Helgesson
3c69c7589a
xsession: make windowManager option required
...
Also add a fairly complicated example.
2017-05-06 13:01:07 +02:00
Robert Helgesson
11ef3873cd
xsession: always source ~/.profile
...
It seems to be pretty standard to do this so always do it, not just when
Bash is the session variable setter.
2017-01-28 18:29:27 +01:00
Robert Helgesson
5fbbbd1ea4
pam: add module
...
Also make it possible to set session variables using PAM rather than
Bash.
2017-01-16 23:54:45 +01:00
Robert Helgesson
6ec3026e51
xsession: improve initialization script
...
This adds a `graphical-session-pre` target for things that need to run
just before the main session starts. Also adds a loop during shutdown
that waits until all deactivating units are gone. Inspired by
<https://youtu.be/hq18daxTkLA >.
2017-01-15 23:42:48 +01:00
Robert Helgesson
a578ea9527
xsession: import XAUTHORITY into systemd env
2017-01-15 23:42:03 +01:00
Robert Helgesson
dd0e71d686
Rename xorg.target to graphical-session.target
...
Also make sure graphical-session.target is generated.
2017-01-15 23:41:53 +01:00
Robert Helgesson
d7d02c3ce8
Initial import
2017-01-14 13:15:24 +01:00