You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current MacOS versions might still being shipped with bash versions < 4.0 and date commands that are incompatible with the monitor-session-activity.sh script, which initially has been developped for linux. Thanks to @snipem and @joshmedeski you can find below copied instructions in issue #2 on how to upgrade bash, install gdate as replacement for date and to modify the script accordingly:
Install latest bash
brew install bash
Replace the top line of monitor-session-activity.sh with the update bash (run which bash to get the path).
Press prefix + I (capital i, as in Install) to fetch the plugin and reload the tmux environment. More detailed instructions are found in the tpm README.
Usage
Once the aw-watcher-tmux plugin is installed it monitors for user activity in all tmux sessions. Any activity is reported to the ActivityWatch REST API at https://localhost:5600/api/.
Most parameters of this plugin are configurable. For example to use my.aw-server.test as alternative aw host, add the following line to your ~/.tmux.conf:
set -g @aw-watcher-tmux-host 'my.aw-server.test'
For more options, please see ./scripts/monitor-session-activity.sh