aboutsummaryrefslogtreecommitdiff
path: root/src/bin/watcher
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/watcher')
-rw-r--r--src/bin/watcher5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/watcher b/src/bin/watcher
index d2392cd..4bea832 100644
--- a/src/bin/watcher
+++ b/src/bin/watcher
@@ -5,6 +5,7 @@ sys.path.insert(0, "/usr/share/Watcher/")
import watch_log as x
from commands import Color
import commands as cmd
+from analysis import weeklly_logs
def help_option():
print(Color.BLUE("Watcher") + " - Minimal open source screen-time tracker\n")
@@ -22,12 +23,12 @@ try:
if arg == "-ds" or arg == "--day-summary":
cmd.daily_summary()
elif arg == "-ws" or arg == "--week-summary":
-
+ weeklly_logs()
cmd.week_summary()
elif arg == "-h" or arg == "--help":
help_option()
elif arg == "--start":
- print("Log creations started... \nif you wanna stop it, use keyboard-shortcut (Ctrl+Shift+C)")
+ print("Log creations started... \nif you wanna stop it, use keyboard-shortcut (Ctrl+Shift+C or Ctrl+C)")
x.log_creation()
elif arg == "--version":
print("Version: 1.2")