17 lines
504 B
Plaintext
17 lines
504 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# TODO Make a good service out of this
|
||
|
|
||
|
cd /opt/activitywatch # Put your ActivityWatch install folder here
|
||
|
|
||
|
killall aw-server
|
||
|
killall aw-watcher-afk
|
||
|
killall aw-watcher-window
|
||
|
|
||
|
./aw-server/aw-server &
|
||
|
./aw-watcher-afk/aw-watcher-afk &
|
||
|
./aw-watcher-window/aw-watcher-window & # you can add --exclude-title here to exclude window title tracking for this session only
|
||
|
|
||
|
notify-send "ActivityWatch started" # Optional, sends a notification when ActivityWatch is started
|
||
|
|