DEV Community

Cover image for Pock an awesome utility for the Mac Touchbar
Nick Taylor (he/him)
Nick Taylor (he/him)

Posted on • Updated on • Originally published at

Pock an awesome utility for the Mac Touchbar

Photo by ian dooley on Unsplash

I'm on a Mac and I honestly have no use for the Dock. I actually hide it for an eternity so it never appears by running the following command.

defaults write autohide-delay -float 1000000

I use Alfred and that basically gives me all I really need in terms of opening apps and then I can use + TAB to switch apps.

I also do not really use the touch bar except for mapping it to function keys (F1 - F12) when I have a browser open or VS Code.

Keyboard preferences for mapping function keys in touch bar for certain apps

Having said that, I came across a very interesting project a few weeks ago called Pock that lets you put the Dock into the touch bar. This combined with "permanently" hiding the Dock makes the touch bar more useful for me. If I'm honest, it's just to see if I have a Slack notification, but that alone is worth it.

Pock in action

GitHub logo pock / pock

Widgets manager for MacBook Touch Bar

Widgets manager for MacBook's Touch Bar

Pock is a free, open-source tool that gives you quick access to your favorite controls and services while maximizing your on-screen real estate

macOS Catalina (10.15)

If you are on macOS Catalina (10.15), please click here and read carefully the suggestions to have a flawless experience.

Why can't I open an issue/pull request?

I’m currently migrating all default widgets to make Pock independent from them At the end of the process, each widget will have its dedicated repo, where you'll be able to open new PRs I hope to publish the new sources soon alongside PockKit.

The PRs that are currently opened will be merged manually in the dedicated widget repository

Thanks for your patience!

Thank you!

If you want to support this project, you can click here Pock will always be available as free software!

How to install

  1. Go to…

Discussion (5)

glennmen profile image
Glenn Carremans

Thanks for sharing! I will try this out.

peterwitham profile image
Peter Witham

I tried Pock for a while and have to say it takes some getting used to when it comes to training my brain that the dock is now down there, but once you get used to it, it's actually useful.

nikoheikkila profile image
Niko Heikkilä

This is a pretty cool project, thanks. However, as I'm using the new MacBook Pro model with a physical ESC key it duplicates it. Looking forward to improvements.

nickytonline profile image
Nick Taylor (he/him) Author • Edited

np. I have the new MBP too and you can hide the virtual ESC key in the preferences.

goranxxl profile image

Hi, I installed it but it doesn't want to start at all 😩