Files
dotfiles/autostart/services/screencfg.service

14 lines
305 B
Desktop File

[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
Environment=DISPLAY=:0