Skip to content

A tool to show the time you spent on each apps on Linux Platform.

License

Notifications You must be signed in to change notification settings

Czile-create/timespent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timespent

A time usage statistics tool on Linux platform, which can display:

  1. Statistics of computer use time since today and in the past week.
  2. Count the usage time of each application today and in the past week.

中文版本

Screenshot

new-version

Feature

  • print the data in an easy way.

  • para -h : print the infomation of help

  • para -d --day : print the data of specified day

  • para -i --in : print the data in the past several days

  • para -f --from : print the data since specified number of days

  • para -g : print all the programs instead of top 5 programs

  • para -p --program: Only print the specified program's data

  • Set time goal and time control

  • print the data in different hours(or mins)

  • error handling mechanism

  • package the program as gnome extension

Usage

  1. Set the program dist/getWindows open automatically at boot
  2. Move the program dist/display to your directory ~ (this is to say, Input mv dist/display ~ in terminal)
  3. Reboot
  4. Type ./display in terminal to start

Remarks

getWindows is a program that get the windows name that is focused every 10s, and save the data in ~/.timespent/{time}.csv. It exists thanks to pyinstaller. display can read the data, and print the data in terminal using an easy way. The source code in the folder src.

LICENSE

GPL 3.0 or later.

About

A tool to show the time you spent on each apps on Linux Platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published