Skip to content

A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI.

Rust

Merge remote-tracking branch 'origin/pr/41' into windows-integration

Tobi Lutkeb2d320a6a514
diff --cc README.md
index 04a3bc6,88d682b..ce3e5c5
--- a/README.md
+++ b/README.md
@@@ -213,7 -211,7 +213,8 @@@ and shows how much free space was actua
| `d` | disk usage or apparent size |
| `i` | include or skip hidden entries |
| `r` | scan again |
+| `esc` while scanning | stop the scan |
+ | `v` | scan another mounted volume |
| `ctrl o` (`⌘O` on macOS) | choose another directory to scan |
| `g` | the whole disk |
| `p` | show or hide the selection line |
diff --cc crates/disktree-app/src/state.rs
index 1b6e200,d78f3c0..6191e3e
--- a/crates/disktree-app/src/state.rs
+++ b/crates/disktree-app/src/state.rs
@@@ -515,10 -511,10 +521,13 @@@ impl Disktree
git_pending: FxHashSet::default(),
device: None,
full_disk_access: None,
+ administrator: disktree_core::access::administrator(),
+ file_table: false,
+ restarting: false,
disk_root: None,
+ volumes_open: false,
+ volumes: Vec::new(),
+ volume_highlight: 0,
panel_rems: PANEL_REMS,
scan_started: None,
scan_root: PathBuf::new(),
diff --cc crates/disktree-app/src/views.rs
index 70f5456,8748b56..2cb6ec7
--- a/crates/disktree-app/src/views.rs
+++ b/crates/disktree-app/src/views.rs
@@@ -3129,7 -3166,7 +3274,8 @@@ fn help_overlay(app: &Disktree, cx: &gp
("c", "Review the marked list"),
("t", "Size, files or age: what areas and colours say"),
("r", "Scan again from the same root"),
+ ("esc", "Stop a scan in progress"),
+ ("v", "Scan another volume"),
(MODIFIER_OPEN, "Choose another directory to scan"),
("g", "The whole disk; click any directory above to widen"),
("d", "Disk usage or apparent size"),