This commit is contained in:
Geoffrey Frogeye 2020-02-03 08:33:27 +01:00
parent 881b41f7eb
commit b65e5d9376
6 changed files with 29 additions and 2 deletions

16
config/i3/aw_start Executable file
View file

@ -0,0 +1,16 @@
#!/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

View file

@ -398,7 +398,7 @@ exec --no-startup-id keynav # Keyboard cursor controller
# exec --no-startup-id ~/.config/i3/ashuffle # MPD Auto-refill
exec --no-startup-id autorandr --change --force # Screen configuration and everything that depends on it
exec --no-startup-id ~/.config/i3/batteryNotify -d # Battery state notification
exec --no-startup-id ~/.config/i3/screentime # Activity tracker
exec --no-startup-id ~/.config/i3/aw_start # Activity tracker
set $ignore #ff00000