diff options
| author | spv <spv@spv.sh> | 2025-12-25 20:48:03 -0500 |
|---|---|---|
| committer | spv <spv@spv.sh> | 2025-12-25 20:48:03 -0500 |
| commit | 22a704e499a5418fad4574c497d46761dcc4524b (patch) | |
| tree | e094ef56d4a6a370f153bae86df6c3f9900ef95c /src/sb_nueve | |
| parent | 591402473b9dc0d6b087588078b2643c52ded765 (diff) | |
Diffstat (limited to 'src/sb_nueve')
| -rwxr-xr-x | src/sb_nueve | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sb_nueve b/src/sb_nueve index fed9749..1d0a315 100755 --- a/src/sb_nueve +++ b/src/sb_nueve @@ -183,15 +183,17 @@ def main(): if args.action == 'r': if args.timeframe == 't': report = parse_for_day(time.strftime('%Y-%m-%d')) + + print("""total keystrokes: %s""" % (report["total keypresses"])) if args.timeframe == 'w': report = parse_for_week(time.strftime('%Y-%m-%d')) - print(report) + print("""total keystrokes: %s""" % (report["total keypresses"])) if args.timeframe == 'm': report = parse_for_month(time.strftime('%Y-%m-%d')) - print(report) + print("""total keystrokes: %s""" % (report["total keypresses"])) if args.timeframe == 'y': report = parse_for_year(time.strftime('%Y-%m-%d')) - print(report) + print("""total keystrokes: %s""" % (report["total keypresses"])) if args.action == 'c': if args.timeframe == 't': |
