Wait for 'xsetwacom' to find tablet

master
Hektor Misplon 2022-05-14 15:45:42 +02:00
parent 1a79bfe43d
commit 08667c1d6c
1 changed files with 7 additions and 3 deletions

View File

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