Screenshots, hung out to dry. A tiny native macOS app that hangs every screenshot on a line at the top of your screen.
Swift
Nothing hangs from the clipboard once Hang copied images is off
Alejandro Buján96bc4129e24e
diff --git a/Sources/Tendedero/ClipboardWatcher.swift b/Sources/Tendedero/ClipboardWatcher.swiftindex f18b209..010714d 100644--- a/Sources/Tendedero/ClipboardWatcher.swift+++ b/Sources/Tendedero/ClipboardWatcher.swift@@ -73,9 +73,11 @@ final class ClipboardWatcher {DispatchQueue.global(qos: .userInitiated).async { [weak self] inlet png = ClipboardWatcher.png(from: data, type: type)DispatchQueue.main.async {- // Copied over again in the meantime: that copy is the one that counts.- guard let png, NSPasteboard.general.changeCount == count else { return }- self?.save(png)+ // Copied over again in the meantime: that copy is the one that+ // counts. Turned off in the meantime: nothing hangs.+ guard let png, NSPasteboard.general.changeCount == count,+ let self, self.timer != nil else { return }+ self.save(png)}}}