News for hackers. Stuff that matters.
Re:Maccy is an open source lightweight and searchable clipbo... by dhaya on Friday June 24, 2022 @07:34PM (#31870855)
Maccy has sensible default options that ignore content marked as confidential or coming from specific apps: https://github.com/p0deje/Maccy#ignore-custom-copy-types.
Re:Maccy is an open source lightweight and searchable clipbo... by hotwire on Friday June 24, 2022 @07:45PM (#31870942)
Ok, that's cool!

I've been using Jumpcut since 2008 when I switched to macos, and I'm pretty prone to app inertia, but that might actually make me switch. thanks.

Re:Maccy is an open source lightweight and searchable clipbo... by zmmmmm on Friday June 24, 2022 @07:59PM (#31871024)
thanks

just tried it out with unix pass which is what I use mostly and somewhat understandably it didn't manage to stop it recording it in the clipboard history. Not sure how well it can work with pure terminal apps like that.

Re:Maccy is an open source lightweight and searchable clipbo... by zmmmmm on Friday June 24, 2022 @08:09PM (#31871086)
ok - replying to myself - defining a function to overlay the normal pass command can work around it like this:

    function pass() {                                           
        defaults write org.p0deje.Maccy ignoreEvents true ;
        sleep 1;
        /opt/local/bin/pass -c "$@" ;
        echo "Copied password to clipboard for $*";
        sleep 1;
        defaults write org.p0deje.Maccy ignoreEvents false;
    }
I think this might work ok!