News for hackers. Stuff that matters.
Re:Ask HN: Can I see your scripts? by sunaurus on Monday August 15, 2022 @07:23AM (#32468277)
Related to writing scripts on Mac OS, I highly recommend rumps (https://rumps.readthedocs.io) to show anything you want in your status bar.

For example, I have one script that uses rumps to show how many outdated homebrew packages I have (and also as a convenient shortcut to update those packages in the dropdown menu). I also have a second script that uses it to show a counter for open pull requests that I need to review (with links to individual PRs in the dropdown menu). It's great!

Result looks like this: https://imgur.com/yy6GlYk.jpg

Re:Ask HN: Can I see your scripts? by wingerlang on Monday August 15, 2022 @08:34AM (#32468859)
Never heard of rumps, but I have been using xbar (renamed from BitBar) for years and it does the same.

My examples: https://imgur.com/a/SrjG1xe

I basically do all my local management from there, no need to run scripts manually, no need to click around in Finder manually, I even added a command to quickly copy my email, simply because it is so low friction to do it.

Hands down the best tool I've ever used

Re:Ask HN: Can I see your scripts? by swcm on Tuesday August 16, 2022 @05:25PM (#32489164)
And there goes the rest of my work week. Wow....
Re:Ask HN: Can I see your scripts? by olejorgenb on Saturday August 20, 2022 @03:12AM (#32529947)
https://github.com/p-e-w/argos is a similar project for gnome-shell