1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
common-configs/systemd/user/xrandr-on-demand.service

13 lines
303 B

2 years ago
[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