[Unit] BindsTo=autostart.target After=windowmanager.target [Service] Type=oneshot # systemd.service(5): # > The command to execute may contain spaces, but control characters are not # > allowed. ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml" RemainAfterExit=true PassEnvironment=DISPLAY