Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mendelsshop/application_stopper
https://github.com/mendelsshop/application_stopper
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mendelsshop/application_stopper
- Owner: mendelsshop
- License: mit
- Created: 2022-05-27T21:08:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T05:59:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T03:25:39.219Z (3 months ago)
- Language: Rust
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Application_Stopper
## About:
This is rust program that will stop the application, if it you are using for a certain amount of time (ie: you got sidetracked with it).
Currently its hardcoded to stop Discord, after 2 hours per day.
It checks in two minutes intervals, if the application is running for more than and if it is, it add two minutes to the counter.
If the counter reaches the limit, it will ask the use if they are using for something important, if they are, it will wait another 5 minutes before asking you again.
If they are not, it will stop the application.## Future Improvements:
- Support for stopping other applications (and possibly websites).
- Add a GUI promt to ask the user if they are using the application for something important (and pause the application untill thay answer the prompt).
- Command line arguments:
- `-h`: Show help/usage.
- `-q