aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ujjwal R <ujjwal.raj.5798@gmail.com>2022-10-10 16:07:29 +0530
committerLibravatar Ujjwal R <ujjwal.raj.5798@gmail.com>2022-10-10 16:07:29 +0530
commitf5c1b2a37b881a02501e97f1fbab34d00269bea4 (patch)
treef2ab2cea93376ed601e30818c05f0c947fa36b38
parentcd43e6c2ae541c1d5cb96f04c94f92b3f56f5735 (diff)
downloadshopno-os-log-sync-f5c1b2a37b881a02501e97f1fbab34d00269bea4.tar.gz
shopno-os-log-sync-f5c1b2a37b881a02501e97f1fbab34d00269bea4.zip
shebang line updated, readme updated
-rw-r--r--README.md25
-rwxr-xr-xsrc/bin/watcher2
2 files changed, 19 insertions, 8 deletions
diff --git a/README.md b/README.md
index 353c5a3..68d3cf7 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Watcher
+
### Minimal Open source Screen-Time Tracker (CLI-app)
+
<img src="https://cdn.discordapp.com/attachments/846673042893832195/952274599276580874/watcher.png" width=90% height=auto>
## Table of Contents
@@ -10,31 +12,40 @@
- [Todo](#to-do)
## About
+
Watcher is CLI-app (at this moment) which helps you to get perspective about your Screen-time
## Gallery
-Day Summary | Week Summary
-:-------------------------:|:-------------------------:
-![](https://cdn.discordapp.com/attachments/846673042893832195/952283314746691624/unknown.png) | ![](https://cdn.discordapp.com/attachments/846673042893832195/952283190716948521/unknown.png)
+
+| Day Summary | Week Summary |
+| :-------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------: |
+| ![](https://cdn.discordapp.com/attachments/846673042893832195/952283314746691624/unknown.png) | ![](https://cdn.discordapp.com/attachments/846673042893832195/952283190716948521/unknown.png) |
Funfact: You might be thinking how can someone has 14 hrs of screen time in a single day, Well ! short ans is AFK-feature is not implemented yet... Most of the time I left my laptop as it is so it also counts that AFK time as Screen-time
## Installation
-* Note: Install [```xprintidle```](https://github.com/g0hl1n/xprintidle) and [```xdotool```](https://github.com/jordansissel/xdotool) on your system ( its the only dependancy )
-* First, Install the following dependancy ```xprintidle``` and ```xdotool```
+
+- Note: Install [`xprintidle`](https://github.com/g0hl1n/xprintidle) and [`xdotool`](https://github.com/jordansissel/xdotool) on your system ( the only dependancies other than python3 ). Install [`python3`](https://www.python.org/downloads/) if not installed in your machine.
+- First, Install the following dependancy `xprintidle` and `xdotool`
+
```bash
$ sudo [package-manager] install xprintidle xdotool
```
-* Second, Clone this repository and cd into it-
+
+- Second, Clone this repository and cd into it-
+
```bash
$ git clone https://github.com/Waishnav/Watcher
$ cd ./Watcher/
```
-* Then run install script
+
+- Then run install script
+
```bash
$ chmod +x ./install && ./install
```
## To-do
+
- [x] AFK feature
- [ ] GUI only if got 300 stars Probably [Tauri App](https://github.com/tauri-apps/tauri).
diff --git a/src/bin/watcher b/src/bin/watcher
index 2644fd1..396aef6 100755
--- a/src/bin/watcher
+++ b/src/bin/watcher
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import os
import sys
sys.path.insert(0, "/usr/share/Watcher/")