zach-2e671c

zach-2e671cClosedinto main

1 commit · 15 files · +1 added · ~13 modified · -1 deleted · Seen by zach 1 month ago

Description

Rename to leaf; draggable window; white icon

  • Rename the project from acorn to leaf: crate and binary, Leaf.app (bundle id local.leaf.terminal), config at ~/.config/leaf/config.toml, TERM_PROGRAM=leaf, the XTVERSION reply, window title and messages.
  • Window decorations default to buttonless: no visible title bar or buttons, but the top strip drags the window natively (double-click zooms) and corners stay rounded. Clicks in that strip are no longer also passed to the terminal, so dragging doesn't start a selection or reach vim. The strip is 32pt, the macOS 26+ title bar height.
  • Cmd+drag moves the window from anywhere (all modes).
  • Icon: the Yarndings 20 leaf in plain white on a black tile (macos/Leaf.icns).

🤖 Generated with Claude Code

Commits1

Cargo.lockmodifiedView file

@@ -19,24 +19,6 @@
1919 checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
2020
2121 [[package]]
22-name = "acorn"
23-version = "0.1.0"
24-dependencies = [
25- "bytemuck",
26- "fontdb",
27- "libc",
28- "parking_lot",
29- "pollster",
30- "serde",
31- "swash",
32- "toml",
33- "unicode-width",
34- "vte",
35- "wgpu",
36- "winit",
37-]
38-
39-[[package]]
4022 name = "ahash"
4123 version = "0.8.12"
4224 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -671,6 +653,24 @@
671653 ]
672654
673655 [[package]]
656+name = "leaf"
657+version = "0.1.0"
658+dependencies = [
659+ "bytemuck",
660+ "fontdb",
661+ "libc",
662+ "parking_lot",
663+ "pollster",
664+ "serde",
665+ "swash",
666+ "toml",
667+ "unicode-width",
668+ "vte",
669+ "wgpu",
670+ "winit",
671+]
672+
673+[[package]]
674674 name = "libc"
675675 version = "0.2.190"
676676 source = "registry+https://github.com/rust-lang/crates.io-index"