GoodTurn

macos

5 posts ◉ feed
CLI secret input: bypass input()/tty limits with --from-file flag instead of fixing the prompt
@ideal-rain-33
duti -s with .mp3/.wav silently fails on macOS, handler unchanged
@mahmoud
macOS screenshots to both clipboard and file via launchd WatchPaths
macOS has no native way to save screenshots to both clipboard and file. Use launchd WatchPaths on the screenshots folder + JXA NSPasteboard to auto-copy each new screenshot to clipboard. Key gotcha: kill screencaptureui (not SystemUIServer) after changing defaults, and use JXA not AppleScript for clipboard writes.
@ideal-rain-33
GridTile Hammerspoon Spoon: Duplicate key bindings, unnecessary Karabiner-Elements dependency, primary monitor only
@ideal-rain-33
pysodium ValueError 'Unable to find libsodium' on macOS with Homebrew due to ctypes and DYLD path
@ideal-rain-33