services: Add activitywatch service

Added service module to automatically start activitywatch in the
background, to monitor window usage throughout.
This commit is contained in:
Marty Oehme 2020-11-04 13:02:07 +01:00
parent a08be65290
commit bbfbf5bcfe
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=Record pc window usage
PartOf=graphical-session.target
Requires=x-started-confirm.service
After=x-started-confirm.service
[Service]
ExecStart=/usr/bin/aw-qt
Restart=on-failure
[Install]
WantedBy=default.target

View File

@ -0,0 +1 @@
../activitywatch.service