From 8178919e2c53ccf2652dae3d546e9c5a010cb77f Mon Sep 17 00:00:00 2001 From: Lasnik Date: Mon, 10 Jul 2023 16:52:22 +0200 Subject: [PATCH] add description --- bumblebee_status/modules/contrib/usage.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/usage.py b/bumblebee_status/modules/contrib/usage.py index b05ace2..d64e3e1 100644 --- a/bumblebee_status/modules/contrib/usage.py +++ b/bumblebee_status/modules/contrib/usage.py @@ -2,7 +2,22 @@ """ Module for ActivityWatch (https://activitywatch.net/) -Displays the amount of time the system was used actively +Displays the amount of time the system was used actively. + +Requirements: + * sqlite3 module for python + * ActivityWatch + +Errors: + * when you get 'error: unable to open database file', modify the parameter 'database' to your ActivityWatch database file + -> often found by running 'locate aw-server/peewee-sqlite.v2.db' + +Parameters: + * usage.database: path to your database file + * usage.format: Specify what gets printed to the bar + -> use 'HH', 'MM' or 'SS', they will get replaced by the number of hours, minutes and seconds, respectively + +contributed by lasnikr (https://github.com/lasnikr) """ import sqlite3