dots/.config/systemd/user/wacom.service

16 lines
359 B
INI

[Unit]
Description=Configure my Wacom tablet
After=default.target
PartOf=default.target
[Service]
Type=oneshot
Environment=XAUTHORITY=/home/h/.Xauthority
Environment=DISPLAY=:0
ExecStartPre=/bin/sleep 3
ExecStart=/home/h/.bin/set-wacom-draw-area
[Install]
WantedBy=default.target
WantedBy=sys-devices-pci0000:00-0000:00:08.1-0000:04:00.3-usb1-1\x2d2.device