diff options
| author | 1jehuang <[email protected]> | 2025-12-19 03:57:33 -0800 |
|---|---|---|
| committer | 1jehuang <[email protected]> | 2025-12-19 03:57:33 -0800 |
| commit | e7a279d0e5bb7d80a85546929edf0f0863e7480d (patch) | |
| tree | 8f6e27bfd3113df33761465cf45cb5e19010c896 /Cargo.toml | |
Initial commit: niri workspaces waybar module in Rust
Fast workspace visualization for waybar with:
- Color-coded windows by app (Chrome, Discord, Firefox, etc.)
- Terminal detection (Claude, Codex, nvim) via /proc
- Dimmed colors for unfocused workspaces
- Active window indicator (▌) for would-be-focused windows
- Parallel niri IPC calls for ~12ms execution time
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..9a25c76 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "niri-workspaces" +version = "0.1.0" +edition = "2021" + +[dependencies] +serde = { version = "1", features = ["derive"] } +serde_json = "1" + +[profile.release] +lto = true +strip = true +opt-level = 3 |
