diff --git a/systemd/yoga-backlight.service b/systemd/yoga-backlight.service new file mode 100644 index 0000000..dd3181e --- /dev/null +++ b/systemd/yoga-backlight.service @@ -0,0 +1,10 @@ +[Unit] +Description=[ThinkPad Yoga] Automatic backlight adjustment + +[Service] +Type=simple +ExecStart=/usr/bin/env python2 /opt/thinkpad-yoga-scripts/backlight/thinkpad-backlight.py +KillMode=process + +[Install] +WantedBy=multi-user.target