Skip to content

Instantly share code, notes, and snippets.

@stayingqold
Created February 11, 2020 23:21
Show Gist options
  • Save stayingqold/3ffcddf23964cddbd993516b8192c178 to your computer and use it in GitHub Desktop.
Save stayingqold/3ffcddf23964cddbd993516b8192c178 to your computer and use it in GitHub Desktop.
Restarts the Touch Bar on MacBooks
#!/bin/bash
# Found these commands in this article:
# https://medium.com/zenchef-tech-and-product/how-to-kill-and-restart-the-touch-bar-control-strip-on-the-new-macbook-pro-b77e97c11d03
pkill "Touch Bar agent";
killall "ControlStrip";
echo touchbar restarted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment