blob: 405b3731deb3ee7e94ea10f6b4f6041663569df4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Systemd Graphical Session
An experiment of using systemd/User to start and manage i3wm, xcompmgr, XDG Autostart and user programs.
graphical-session.target
-> i3-session.target
-> i3.service # i3wm (slice: session)
-> xcompmgr.service # Compositor (slice: session)
-> xdg-desktop-autostart.target # XDG Autostart (slice: app. In fact daemons like blueman-applet should be in background slice)
-> xrdb.service # xrdb merge
-> deadd-notification-center.service # libnotify daemon (slice: app)
User programs (e.g. xterm, rofi and their children) are started under separate scopes. I'm not sure if that's light enough.
Environment variables are managed by `environment.d(5)`.
To start: `systemctl --user start --wait i3-session.target` (put in your `.xinitrc`).
To be continued. This configuration has flaws.
|