vincentbernat.i3wm-configur.../systemd/autorandr@.service
Vincent Bernat 47368b46dc systemd: remove all [Install] sections
Instead, we explicitely set dependencies in our own
graphical-session@.target.
2020-01-19 20:30:59 +01:00

9 lines
204 B
Desktop File

[Unit]
Description=Configure monitors on %I
PartOf=graphical-session@%i.target
[Service]
Environment=DISPLAY=%I
ExecStart=/usr/bin/autorandr --change --default default
Type=oneshot
RemainAfterExit=false