Screenshots, hung out to dry. A tiny native macOS app that hangs every screenshot on a line at the top of your screen.
Swift
README images in docs/images
Alejandro Buján762a93d69437
diff --git a/README.md b/README.mdindex bf04e49..72b26d9 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@<picture>- <source media="(prefers-color-scheme: dark)" srcset="docs/hero-dark.png">- <img src="docs/hero-light.png" alt="Tendedero. Screenshots, hung out to dry. Three screenshots in glass frames hang from a thin line under the macOS menu bar.">+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/hero-dark.png">+ <img src="docs/images/hero-light.png" alt="Tendedero. Screenshots, hung out to dry. Three screenshots in glass frames hang from a thin line under the macOS menu bar."></picture><p align="center">@@ -19,8 +19,8 @@ Every screenshot you take hangs on a line just above your screen.Rest the pointer in the menu bar and it glides down. Move away and it's gone.<picture>- <source media="(prefers-color-scheme: dark)" srcset="docs/demo-dark.gif">- <img src="docs/demo-light.gif" alt="The pointer rests against the top edge, the line slides down with three screenshots swinging gently, a click copies one, and the line tucks away when the pointer leaves.">+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/demo-dark.gif">+ <img src="docs/images/demo-light.gif" alt="The pointer rests against the top edge, the line slides down with three screenshots swinging gently, a click copies one, and the line tucks away when the pointer leaves."></picture><br>@@ -29,8 +29,8 @@ Rest the pointer in the menu bar and it glides down. Move away and it's gone.## A gesture for everything.<picture>- <source media="(prefers-color-scheme: dark)" srcset="docs/bento-dark.png">- <img src="docs/bento-light.png" alt="Click to copy. Hold to mark up. Drag to share. Let it go.">+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/bento-dark.png">+ <img src="docs/images/bento-light.png" alt="Click to copy. Hold to mark up. Drag to share. Let it go."></picture><br>@@ -145,7 +145,7 @@ language. `swift scripts/check-strings.swift` checks that none is missing.<br><p align="center">- <img src="docs/icon.png" width="64" height="64" alt="">+ <img src="docs/images/icon.png" width="64" height="64" alt=""><br><sub>The code is MIT licensed. The Tendedero name and icon are not, so forks need their own. See <a href="LICENSE">LICENSE</a>.</sub><br>diff --git a/docs/bento-dark.png b/docs/images/bento-dark.pngsimilarity index 100%rename from docs/bento-dark.pngrename to docs/images/bento-dark.pngdiff --git a/docs/bento-light.png b/docs/images/bento-light.pngsimilarity index 100%rename from docs/bento-light.pngrename to docs/images/bento-light.pngdiff --git a/docs/demo-dark.gif b/docs/images/demo-dark.gifsimilarity index 100%rename from docs/demo-dark.gifrename to docs/images/demo-dark.gifdiff --git a/docs/demo-light.gif b/docs/images/demo-light.gifsimilarity index 100%rename from docs/demo-light.gifrename to docs/images/demo-light.gifdiff --git a/docs/hero-dark.png b/docs/images/hero-dark.pngsimilarity index 100%rename from docs/hero-dark.pngrename to docs/images/hero-dark.pngdiff --git a/docs/hero-light.png b/docs/images/hero-light.pngsimilarity index 100%rename from docs/hero-light.pngrename to docs/images/hero-light.pngdiff --git a/docs/icon.png b/docs/images/icon.pngsimilarity index 100%rename from docs/icon.pngrename to docs/images/icon.pngdiff --git a/scripts/make-readme-art.swift b/scripts/make-readme-art.swiftindex 80eaf3d..9914a7d 100644--- a/scripts/make-readme-art.swift+++ b/scripts/make-readme-art.swift@@ -3,12 +3,12 @@// demo-*.gif the reveal: pointer to the top edge, line slides down, a// click copies, the pointer leaves and the line tucks away// bento-*.png four gestures as tiles with SF Symbols-// Usage: swift scripts/make-readme-art.swift docs/+// Usage: swift scripts/make-readme-art.swift docs/images/import AppKitimport ImageIOimport UniformTypeIdentifiers-let outDir = CommandLine.arguments.dropFirst().first ?? "docs"+let outDir = CommandLine.arguments.dropFirst().first ?? "docs/images"func color(_ r: CGFloat, _ g: CGFloat, _ b: CGFloat, _ a: CGFloat = 1) -> NSColor {NSColor(srgbRed: r / 255, green: g / 255, blue: b / 255, alpha: a)