Skip to content

Commit

Permalink
fixed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzanderr committed Apr 5, 2022
0 parents commit c5bfa6c
Show file tree
Hide file tree
Showing 36 changed files with 929 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

target
scripts
Cargo.lock
12 changes: 12 additions & 0 deletions ABOUT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Rule 20 20 20.
This is a utility software to make you pause what you are doing every X minutes, which are passed from command line.

The app waits X minutes then warnings the user by playing Half Life game wav sounds to look away from the computer or screen for 20 seconds long. You can also keep your eyes closed during the activation of 20 20 20 rule.

This is a great tool for keeping your eye healthy as a developer.

Personally I've used this software for about 1 year and the state of my eyes improved dramatically.

Read more about 20 20 20 rule:
https://www.healthline.com/health/eye-health/20-20-20-rule#definition
28 changes: 28 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[package]
name = "rule_202020"
version = "0.0.1"
edition = "2021"

default-run = "rule_202020"

[[bin]]
name = "rule_202020"
path = "src/bin/main.rs"


[dependencies]
core-dev = { path = "../core-dev", features = [
"datetime", "audio", "core", "linuxapi", "image"] }
notify-rust = { version = "4.5.8", features = ["images"] }
xdg-utils = "0.4.0"
ctrlc = { version = "3.2.1", features = ["termination"] }
open = "2.1.1"
chrono = "0.4.19"
time = { version = "0.3.9", features = ["parsing"] }
clap = { version = "3.1.8", features = ["derive"] }
ansi_term = { version = "0.12.1", features = ["derive_serde_style", "serde"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
color-backtrace = "0.5.1"
soloud = "1.0.2"
image = "0.24.1"
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

![logo](https://github.com/alexzanderr/rust-rule-202020/blob/main/static/img/logo/rule-202020-logo.png?raw=True)


<p align="center">
<a href="https://choosealicense.com/licenses/mit/" alt="License: MIT">
<img src="https://img.shields.io/badge/license-MIT-green.svg" />
</a>
<br>
<a href="https://www.rust-lang.org">
<img src="https://img.shields.io/badge/rustc-1.60+-yellow?logo=rust">
</a>
<br>
<a href="https://www.rust-lang.org">
<img src="https://img.shields.io/maintenance/yes/2022">
</a>
</p>


# Rule 20 20 20
This is a utility software to make you pause what you are doing every X minutes, which are passed from command line.

The app waits X minutes then warnings the user by playing Half Life game wav sounds to look away from the computer or screen for 20 seconds long. You can also keep your eyes closed during the activation of 20 20 20 rule.

This is a great tool for keeping your eye healthy as a developer.

Personally I've used this software for about 1 year and the state of my eyes improved dramatically.

Read more about [`20 20 20 rule`](https://www.healthline.com/health/eye-health/20-20-20-rule#definition)

22 changes: 22 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


# TODO

great todos for improvement

- [x] load the audio files into the binary (binary bloat)
- [x] load the notification icon from the binary (binary bloat 2)
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
Loading

0 comments on commit c5bfa6c

Please sign in to comment.