1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/systemd/user/xprofile.service
Joe Groocock e237f79831
systemd: add SyslogIdentifier for /bin/sh processes
These units appear in the journal with the identifier `sh` so set a
sensible identifier for them to aid in log readability

Signed-off-by: Joe Groocock <me@frebib.net>
2020-09-26 14:12:01 +01:00

15 lines
294 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'
SyslogIdentifier=xprofile
Slice=session.slice
[Install]
WantedBy=xorg.target