mapsize 1.2.0: permanent delete and in-map reveal when headless
On a headless Linux or BSD system (no DISPLAY or WAYLAND_DISPLAY) nothing empties the freedesktop trash, so trashing never freed space. There, d now deletes permanently after an explicit confirmation, checking owner and type against the scan and removing through an os.Root on the parent so a swapped symlink cannot redirect it. o shows the folder in the map instead of launching a file manager. Desktop sessions, macOS and Windows are unchanged.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 1.2.0 — 2026-10-03
|
||||
|
||||
### Changed
|
||||
- On a headless Linux or BSD system (no `DISPLAY` or `WAYLAND_DISPLAY`), `d`
|
||||
deletes permanently after an "are you sure" confirmation instead of moving
|
||||
to a trash nobody empties, and `o` shows the folder in the map instead of
|
||||
trying to open a file manager. Desktop sessions, macOS and Windows still
|
||||
use the trash and the file manager.
|
||||
|
||||
## 1.1.0 — 2026-10-03
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user