Live data from Hacker News

Xbar: The BitBar reboot. Put anything in your macOS menu bar

xbarapp.com

1–10 of 54 posts

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#2
One issue I've run into with BitBar is that you would need to install dependencies systemwide which I don't want to. A solution I found was to create a virtualenv for a specific script (or BitBar as a whole) and just put the path of the Python executable in the hashbang of the BitBar script, ie:

  #!/path/to/the/virtualenv/bin/python
There is no need to 'activate' the virtualenv or use some kind of wrapper (unless your script depends on PATH for subcommands to be executed from the virtualenv as well).

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#3
I like that they have some to show the number of unread Slack notifications, but the scripts are necessarily kind of hacky in order to deal with rate-limiting. It's ridiculous that Slack doesn't have such a feature built-in because people have been asking for it for years.

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#5

I like that they have some to show the number of unread Slack notifications, but the scripts are necessarily kind of hacky in order to deal with rate-limiting. It's ridiculous that Slack doesn't have such a feature built-in because people have been asking for it for years.

Doesn't fix it, but supposedly there's an undocumented api endpoint here: https://api.slack.com/api/client.counts?token=token_here

It will return "has_unreads=true" for channels that have unread notifications. So perhaps better than a naive brute force traversal.

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#7
post #4

How does it compare to Swiftbar[0]? Any reasons to use Xbar over SwiftBar given that the latter was built with a stack that is more "native" to Mac than Golang? [0] https://github.com/swiftbar/SwiftBar

This was the first question that came to mind for me too.

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#9
I've been discovering more and more high quality open source apps for Mac recently. My other favorites so far:

https://github.com/iterate-ch/cyberduck

https://github.com/rxhanson/Rectangle

https://github.com/sfsam/Itsycal

https://github.com/newmarcel/KeepingYouAwake

Re: Xbar: The BitBar reboot. Put anything in your macOS menu bar

#10
Bitbar-esque tools are fantastic. There are a wide variety on Linux, watching with slightly different formatting, but converting isn't a big pain. Being able to toss something together to display a portion of a curl call in a few minutes is great. I used to hate the top bar concept years ago when I was a windows user, but after switching to Unix for the past handful of years, I couldn't go back.
Post reply on HN