A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI.
Rust
Set the window class to disktree
Mark Imbriacoafc87fc64707
diff --git a/README.md b/README.mdindex e1c1580..b37c5b7 100644--- a/README.md+++ b/README.md@@ -202,7 +202,8 @@ tested:## On HyprlandHyprland tiles new windows, so disktree opens into whatever tile it is given.-It is designed for a roomy window; float it, or give it a rule:+It is designed for a roomy window; float it, or give it a rule. The window+class is `disktree`.```windowrule = float, class:^(disktree)$diff --git a/crates/disktree-app/src/main.rs b/crates/disktree-app/src/main.rsindex 22b8265..483adcb 100644--- a/crates/disktree-app/src/main.rs+++ b/crates/disktree-app/src/main.rs@@ -91,6 +91,12 @@ fn main() -> Result<()> {),..Default::default()}),+ // Wayland app id. Hyprland reports it as the window+ // class, and the desktop entry's StartupWMClass and+ // the documented window rule both match `disktree`.+ // Left unset, the class is empty and that rule never+ // matches.+ app_id: Some("disktree".to_owned()),// Below this the treemap stops being readable, so ask// the compositor not to go there.window_min_size: Some(size(px(900.), px(600.))),