diff --git a/services/.config/systemd/user/activitywatch.service b/services/.config/systemd/user/activitywatch.service new file mode 100644 index 0000000..7c73d88 --- /dev/null +++ b/services/.config/systemd/user/activitywatch.service @@ -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 diff --git a/services/.config/systemd/user/default.target.wants/activitywatch.service b/services/.config/systemd/user/default.target.wants/activitywatch.service new file mode 120000 index 0000000..29b339e --- /dev/null +++ b/services/.config/systemd/user/default.target.wants/activitywatch.service @@ -0,0 +1 @@ +../activitywatch.service \ No newline at end of file