Skip to content

Commit d4e12f8

Browse files
committed
update: full notification-sys revamp + ui changes
1 parent 65d7609 commit d4e12f8

File tree

9 files changed

+299
-1011
lines changed

9 files changed

+299
-1011
lines changed

Cargo.lock

Lines changed: 148 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ rusqlite = { version = "0.30.0", features = ["bundled"] }
2222
tokio = { version = "1.34.0", features = ["full"] }
2323
dirs = "6.0.0"
2424
chrono = "0.4.31"
25+
notifica = "3.0.2"
26+
terminal_size = "0.4.2"
2527

26-
[target.'cfg(target_os = "macos")'.dependencies]
27-
mac-notification-sys = "0.6.1"
2828

2929
[profile.release]
3030
codegen-units = 1

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ fi
2424
# Redirecting both stdout and stderr to /dev/null to hide any errors
2525
# This is useful when running in environments where chmod might fail
2626
# but we still want the script to continue execution
27-
chmod +x "$0" >/dev/null 2>&1 || true
27+
# Silently ensure execute permissions, suppressing all output including errors
28+
{ chmod +x "$0"; } >/dev/null 2>&1 || true
2829

2930
# Simple progress function
3031
progress() {

notify.sh

Lines changed: 0 additions & 185 deletions
This file was deleted.

recipe.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ i think this should be async, can handle concurrency
2525
4. Checks are distributed over time to avoid CPU spikes, how and why?
2626
5. Efficient sleep patterns that only wake when needed, where and how are they making the code efficient.
2727
6.
28+
29+
# todo [ what have we done till now ]
30+
31+
[x] stop-ms command : to stop the process
32+
[x] add-command with configurable options
33+
[x] status
34+
[x] list
35+
[ ]

0 commit comments

Comments
 (0)