services: Add activitywatch service
Added service module to automatically start activitywatch in the background, to monitor window usage throughout.
This commit is contained in:
parent
a08be65290
commit
bbfbf5bcfe
2 changed files with 13 additions and 0 deletions
12
services/.config/systemd/user/activitywatch.service
Normal file
12
services/.config/systemd/user/activitywatch.service
Normal 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
|
|
@ -0,0 +1 @@
|
|||
../activitywatch.service
|
Loading…
Reference in a new issue