summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author1jehuang <[email protected]>2025-12-19 04:07:39 -0800
committer1jehuang <[email protected]>2025-12-19 04:07:39 -0800
commit1569735cdc71dbb74da49b64144d95a3f451a9a6 (patch)
treeb80c4a795a97e322bba9cc89cb6aee9f4f6485c6 /Cargo.toml
parente7a279d0e5bb7d80a85546929edf0f0863e7480d (diff)
Implement daemon mode with persistent niri socket connection
- Uses niri-ipc event stream for real-time updates - No signal/interval needed - outputs JSON on relevant events - Auto-reconnects on socket errors - Near-zero CPU when idle
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 9a25c76..7454eeb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
+niri-ipc = { version = "25.11.0", features = ["clap"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"