mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Joe Groocock
521f462141
This moves loading of the environment variables out of the normal service startup flow and has systemd load the variables early. Shim ZSH to load the environment.d configuration when running without systemd. Signed-off-by: Joe Groocock <me@frebib.net>
13 lines
248 B
Desktop File
13 lines
248 B
Desktop File
[Unit]
|
|
Description=Load Xorg configuration
|
|
PartOf=xorg.target
|
|
After=xorg.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/bin/sh -c '. $XDG_CONFIG_HOME/X11/xprofile; systemctl --user import-environment'
|
|
|
|
[Install]
|
|
WantedBy=xorg.target
|