mirror of
https://github.com/wassname/thinkpad-x380-yoga-scripts.git
synced 2026-09-09 11:38:34 +08:00
15 lines
359 B
Desktop File
15 lines
359 B
Desktop File
[Unit]
|
|
Description=[ThinkPad Yoga] Wacom digitizer proximity detection
|
|
Requires=display-manager.service
|
|
After=display-manager.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/bin/bash /opt/thinkpad-x380-yoga-scripts/wacom/thinkpad-yoga-prox.sh
|
|
KillMode=process
|
|
User=%i
|
|
Environment="DISPLAY=:0" "XAUTHORITY=/home/%i/.Xauthority"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|