1
0
Fork 0

xrandr service

main
Mari 3 years ago
parent 1fe3170c48
commit b8a4f1ed5e
  1. 12
      systemd/user/xrandr-on-demand.service

@ -0,0 +1,12 @@
[Unit]
Description=Monitor Auto-hotplug
ReloadPropagatedFrom=sys-devices-pci0000:00-0000:00:02.0-drm-card0.device
[Service]
Type=oneshot
ExecStart=xrandr --output DP-1 --auto --left-of eDP-1
ExecReload=xrandr --output DP-1 --auto --left-of eDP-1
RemainAfterExit=true
[Install]
WantedBy=default.target
Loading…
Cancel
Save