Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions scripts/package/README.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
Run move-to-aw-modules.sh to copy all modules except aw-tauri to ~/aw-modules/.
aw-tauri (replaces aw-qt) will use this directory to discover new modules.
You can add your own modules and scripts to this directory. The modules should
start with the aw- prefix and should not have an extension (e.g. no .sh).
ActivityWatch (Tauri edition) for Linux

In the aw-tauri folder there are AppImage, RPM, and DEB binaries. Choose the
appropriate one for your Linux distribution. If in doubt, use the AppImage as
it works on most Linux systems. If you use the AppImage, copy it to a permanent
folder like ~/bin or /usr/local/bin, since autostart relies on the AppImage
being in the same location each time.
aw-tauri/aw-tauri.AppImage is self-contained: the window and AFK watcher
(aw-awatcher, works on Wayland and X11), aw-sync and aw-notify (notifications,
enable them from the tray menu) are bundled inside it.
Comment thread
ErikBjare marked this conversation as resolved.
Put it wherever you like (e.g. ~/bin) and run it from there. Once autostart
is on, keep it in that place: autostart starts the AppImage from where it
was.

To install system-wide instead, use aw-tauri/aw-tauri.deb or
aw-tauri/aw-tauri.rpm. They contain the same bundled modules.

The other folders here are optional extra modules: aw-watcher-input, and the
classic aw-watcher-window / aw-watcher-afk for X11. To use one, copy its
folder into ~/.local/share/activitywatch/aw-tauri/modules/ (or
Comment thread
ErikBjare marked this conversation as resolved.
$XDG_DATA_HOME/activitywatch/aw-tauri/modules/ if you set XDG_DATA_HOME) and
restart ActivityWatch. Your own modules can go there too: the executable must
start with aw- and have no extension (e.g. no .sh).
27 changes: 0 additions & 27 deletions scripts/package/move-to-aw-modules.sh

This file was deleted.

7 changes: 5 additions & 2 deletions scripts/package/package-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ echo "Tauri build: ${TAURI_BUILD:-false}"
echo "========================================"
echo

# For Tauri Linux builds, include helper scripts and README
# For Tauri Linux builds, include the README. awatcher is bundled inside the
# AppImage/deb/rpm (staged into aw-tauri's modules/ by the Makefile), so the
# loose copy is left out of the zip.
if [[ $platform == "linux" && $TAURI_BUILD == "true" ]]; then
cp scripts/package/README.txt scripts/package/move-to-aw-modules.sh dist/activitywatch/
cp scripts/package/README.txt dist/activitywatch/
rm -rf dist/activitywatch/awatcher
fi

function build_zip() {
Expand Down
Loading