Files
dotfiles/autostart/services/screencfg.service

14 lines
339 B
SYSTEMD
Raw Normal View History

[Unit]
BindsTo=autostart.target
2020-12-21 17:57:18 +01:00
After=windowmanager.target
ConditionEnvironment=MACHINE_DEFAULT_SCREENPROFILE
[Service]
Type=oneshot
# systemd.service(5):
# > The command to execute may contain spaces, but control characters are not
# > allowed.
ExecStart=bash -c '%h/.screencfg/${MACHINE_DEFAULT_SCREENPROFILE}.sh'
RemainAfterExit=true