Skip to content

Commit 41708e2

Browse files
committed
Add some styles
1 parent 4ab0291 commit 41708e2

File tree

12 files changed

+24000
-109
lines changed

12 files changed

+24000
-109
lines changed

Cargo.lock

Lines changed: 679 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "PomodoroTimer"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2024"
55

66
[dependencies]
7-
slint = "1.12.1"
7+
slint = { version="1.13.0", features = ["renderer-femtovg-wgpu"]}
88

99
[build-dependencies]
10-
slint-build = "1.12.1"
10+
slint-build = "1.13.0"
1111

1212
[profile.release]
1313
strip = true # Deletes debug symbols from the binary

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This application is fully cross-platform and is automatically built for Windows,
88

99
## Features
1010

11-
- Standard Pomodoro cycles: Work, Short Break, and Long Break.
12-
- Start, pause, and reset the timer.
13-
- Skip the current session to move to the next one.
14-
- Clean, minimalist user interface.
15-
- Low memory and CPU usage, especially in the release build.
11+
- Standard Pomodoro cycles: Work, Short Break, and Long Break.
12+
- Start, pause, and reset the timer.
13+
- Skip the current session to move to the next one.
14+
- Clean, minimalist user interface.
15+
- Low memory and CPU usage, especially in the release build.
1616

1717
## Downloading the Application
1818

@@ -25,25 +25,29 @@ The easiest way to get the application is to download a pre-built version for yo
2525

2626
If you prefer to build the application yourself, you'll need to have the Rust toolchain installed.
2727

28-
1. **Clone the repository:**
28+
1. **Clone the repository:**
29+
2930
```bash
3031
git clone https://github.com/reRumbl/LightweightPomodoroTimer.git
3132
cd LightweightPomodoroTimer
3233
```
3334

34-
2. **Install dependencies (for Linux only):**
35+
2. **Install dependencies (for Linux only):**
36+
3537
```bash
3638
sudo apt-get update && sudo apt-get install -y libfontconfig1-dev libgtk-3-dev
3739
```
3840

39-
3. **Build and run the application:**
41+
3. **Build and run the application:**
4042

4143
For a quick debug build:
44+
4245
```bash
4346
cargo run
4447
```
4548

4649
For a fully optimized release build (recommended for regular use):
50+
4751
```bash
4852
cargo run --release
4953
```

src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![windows_subsystem = "windows"]
1+
#![windows_subsystem = "windows"] // Preventing console open on windows
2+
23
use slint::{Timer, TimerMode};
34
use std::cell::RefCell;
45
use std::rc::Rc;
@@ -78,4 +79,4 @@ fn main() -> Result<(), slint::PlatformError> {
7879
});
7980

8081
ui.run()
81-
}
82+
}
143 KB
Binary file not shown.

src/ui/assets/icons/app.svg

Lines changed: 23203 additions & 0 deletions
Loading

src/ui/assets/icons/pause.svg

Lines changed: 1 addition & 0 deletions
Loading

src/ui/assets/icons/play.svg

Lines changed: 1 addition & 0 deletions
Loading

src/ui/assets/icons/reset.svg

Lines changed: 1 addition & 0 deletions
Loading

src/ui/assets/icons/skip.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)