1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/systemd/user/xprofile.service

15 lines
320 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Load Xorg configuration
# this is a bit weird, but I guess it works
PartOf=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